File tree Expand file tree Collapse file tree 15 files changed +10
-21
lines changed Expand file tree Collapse file tree 15 files changed +10
-21
lines changed File renamed without changes.
Original file line number Diff line number Diff line change
1
+ cfg_if:: cfg_if! {
2
+ if #[ cfg( target_os = "windows" ) ] {
3
+ mod windows;
4
+ pub use windows:: * ;
5
+ } else {
6
+ mod builtins;
7
+ pub use builtins:: * ;
8
+ }
9
+ }
File renamed without changes.
Original file line number Diff line number Diff line change 3
3
/// descriptors.
4
4
mod pal;
5
5
6
+ pub mod cmath;
6
7
mod personality;
7
8
8
9
// FIXME(117276): remove this, move feature implementations into individual
Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ use crate::os::raw::c_char;
19
19
20
20
pub mod alloc;
21
21
pub mod args;
22
- #[ path = "../unix/cmath.rs" ]
23
- pub mod cmath;
24
22
pub mod env;
25
23
pub mod fd;
26
24
pub mod fs;
Original file line number Diff line number Diff line change @@ -13,8 +13,6 @@ mod waitqueue;
13
13
14
14
pub mod alloc;
15
15
pub mod args;
16
- #[ path = "../unix/cmath.rs" ]
17
- pub mod cmath;
18
16
pub mod env;
19
17
pub mod fd;
20
18
#[ path = "../unsupported/fs.rs" ]
Original file line number Diff line number Diff line change @@ -21,8 +21,6 @@ mod itron {
21
21
pub mod alloc;
22
22
#[ path = "../unsupported/args.rs" ]
23
23
pub mod args;
24
- #[ path = "../unix/cmath.rs" ]
25
- pub mod cmath;
26
24
pub mod env;
27
25
// `error` is `pub(crate)` so that it can be accessed by `itron/error.rs` as
28
26
// `crate::sys::error`
Original file line number Diff line number Diff line change @@ -11,8 +11,6 @@ pub use self::rand::hashmap_random_keys;
11
11
pub mod alloc;
12
12
#[ path = "../unsupported/args.rs" ]
13
13
pub mod args;
14
- #[ path = "../unix/cmath.rs" ]
15
- pub mod cmath;
16
14
#[ path = "../unsupported/env.rs" ]
17
15
pub mod env;
18
16
pub mod locks;
Original file line number Diff line number Diff line change 14
14
15
15
pub mod alloc;
16
16
pub mod args;
17
- #[ path = "../unix/cmath.rs" ]
18
- pub mod cmath;
19
17
pub mod env;
20
18
#[ path = "../unsupported/fs.rs" ]
21
19
pub mod fs;
Original file line number Diff line number Diff line change @@ -11,8 +11,6 @@ pub mod weak;
11
11
pub mod alloc;
12
12
pub mod android;
13
13
pub mod args;
14
- #[ path = "../unix/cmath.rs" ]
15
- pub mod cmath;
16
14
pub mod env;
17
15
pub mod fd;
18
16
pub mod fs;
You can’t perform that action at this time.
0 commit comments