@@ -1021,10 +1021,10 @@ extern {
10211021pub mod consts {
10221022
10231023 #[cfg(unix)]
1024- use os::consts::unix::*;
1024+ pub use os::consts::unix::*;
10251025
10261026 #[cfg(windows)]
1027- use os::consts::windows::*;
1027+ pub use os::consts::windows::*;
10281028
10291029 pub mod unix {
10301030 pub const FAMILY: &str = " unix";
@@ -1035,19 +1035,19 @@ pub mod consts {
10351035 }
10361036
10371037 #[cfg(target_os = " macos")]
1038- use os::consts::macos::*;
1038+ pub use os::consts::macos::*;
10391039
10401040 #[cfg(target_os = " freebsd")]
1041- use os::consts::freebsd::*;
1041+ pub use os::consts::freebsd::*;
10421042
10431043 #[cfg(target_os = " linux")]
1044- use os::consts::linux::*;
1044+ pub use os::consts::linux::*;
10451045
10461046 #[cfg(target_os = " android")]
1047- use os::consts::android::*;
1047+ pub use os::consts::android::*;
10481048
10491049 #[cfg(target_os = " win32")]
1050- use os::consts::win32::*;
1050+ pub use os::consts::win32::*;
10511051
10521052 pub mod macos {
10531053 pub const SYSNAME: &str = " macos";
@@ -1086,13 +1086,13 @@ pub mod consts {
10861086
10871087
10881088 #[cfg(target_arch = " x86")]
1089- use os::consts::x86::*;
1089+ pub use os::consts::x86::*;
10901090
10911091 #[cfg(target_arch = " x86_64")]
1092- use os::consts::x86_64::*;
1092+ pub use os::consts::x86_64::*;
10931093
10941094 #[cfg(target_arch = " arm")]
1095- use os::consts::arm::*;
1095+ pub use os::consts::arm::*;
10961096
10971097 pub mod x86 {
10981098 pub const ARCH: &str = " x86";
0 commit comments