File tree 1 file changed +6
-16
lines changed
1 file changed +6
-16
lines changed Original file line number Diff line number Diff line change 1
- #[ cfg( any( target_os = "haiku" , target_os = "hermit" , not( any( unix, windows) ) ) ) ]
2
- pub use custom:: * ;
3
-
4
- #[ cfg( all( unix, not( target_os = "haiku" ) ) ) ]
5
- pub use unix:: * ;
6
-
7
1
#[ cfg( windows) ]
8
- pub use windows :: * ;
2
+ pub use for_windows :: * ;
9
3
10
4
#[ cfg( any( target_os = "haiku" , target_os = "hermit" , not( any( unix, windows) ) ) ) ]
11
- mod custom {
12
- pub unsafe fn setup ( _build : & mut crate :: Build ) { }
13
- }
5
+ pub unsafe fn setup ( _build : & mut crate :: Build ) { }
14
6
15
7
#[ cfg( all( unix, not( target_os = "haiku" ) ) ) ]
16
- mod unix {
17
- pub unsafe fn setup ( build : & mut crate :: Build ) {
18
- if build. config . low_priority {
19
- libc:: setpriority ( libc:: PRIO_PGRP as _ , 0 , 10 ) ;
20
- }
8
+ pub unsafe fn setup ( build : & mut crate :: Build ) {
9
+ if build. config . low_priority {
10
+ libc:: setpriority ( libc:: PRIO_PGRP as _ , 0 , 10 ) ;
21
11
}
22
12
}
23
13
24
14
#[ cfg( windows) ]
25
- mod windows {
15
+ mod for_windows {
26
16
//! Job management on Windows for bootstrapping
27
17
//!
28
18
//! Most of the time when you're running a build system (e.g., make) you expect
You can’t perform that action at this time.
0 commit comments