File tree 15 files changed +10
-21
lines changed
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;
Original file line number Diff line number Diff line change 2
2
3
3
pub mod alloc;
4
4
pub mod args;
5
- #[ path = "../unix/cmath.rs" ]
6
- pub mod cmath;
7
5
pub mod env;
8
6
pub mod fs;
9
7
pub mod io;
Original file line number Diff line number Diff line change @@ -20,8 +20,6 @@ use crate::mem;
20
20
#[ path = "../unix/alloc.rs" ]
21
21
pub mod alloc;
22
22
pub mod args;
23
- #[ path = "../unix/cmath.rs" ]
24
- pub mod cmath;
25
23
pub mod env;
26
24
pub mod fd;
27
25
pub mod fs;
Original file line number Diff line number Diff line change 19
19
pub mod alloc;
20
20
#[ path = "../unsupported/args.rs" ]
21
21
pub mod args;
22
- #[ path = "../unix/cmath.rs" ]
23
- pub mod cmath;
24
22
pub mod env;
25
23
#[ path = "../unsupported/fs.rs" ]
26
24
pub mod fs;
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ pub mod compat;
15
15
pub mod alloc;
16
16
pub mod args;
17
17
pub mod c;
18
- pub mod cmath;
19
18
pub mod env;
20
19
pub mod fs;
21
20
pub mod handle;
Original file line number Diff line number Diff line change 3
3
pub mod alloc;
4
4
#[ path = "../unsupported/args.rs" ]
5
5
pub mod args;
6
- #[ path = "../unix/cmath.rs" ]
7
- pub mod cmath;
8
6
#[ path = "../unsupported/env.rs" ]
9
7
pub mod env;
10
8
#[ path = "../unsupported/fs.rs" ]
You can’t perform that action at this time.
0 commit comments