File tree 3 files changed +7
-100
lines changed
3 files changed +7
-100
lines changed Original file line number Diff line number Diff line change @@ -77,21 +77,14 @@ cfg_if::cfg_if! {
77
77
}
78
78
79
79
#[ cfg( not( test) ) ]
80
- cfg_if:: cfg_if! {
81
- if #[ cfg( target_os = "android" ) ] {
82
- pub use self :: android:: log2f32;
83
- pub use self :: android:: log2f64;
84
- } else {
85
- #[ inline]
86
- pub fn log2f32( n: f32 ) -> f32 {
87
- unsafe { crate :: intrinsics:: log2f32( n) }
88
- }
80
+ #[ inline]
81
+ pub fn log2f32 ( n : f32 ) -> f32 {
82
+ unsafe { crate :: intrinsics:: log2f32 ( n) }
83
+ }
89
84
90
- #[ inline]
91
- pub fn log2f64( n: f64 ) -> f64 {
92
- unsafe { crate :: intrinsics:: log2f64( n) }
93
- }
94
- }
85
+ #[ inline]
86
+ pub fn log2f64 ( n : f64 ) -> f64 {
87
+ unsafe { crate :: intrinsics:: log2f64 ( n) }
95
88
}
96
89
97
90
#[ cfg( not( target_os = "uefi" ) ) ]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ use crate::io::ErrorKind;
8
8
pub mod weak;
9
9
10
10
pub mod alloc;
11
- pub mod android;
12
11
pub mod args;
13
12
pub mod env;
14
13
pub mod fd;
@@ -237,12 +236,8 @@ pub unsafe fn cleanup() {
237
236
}
238
237
239
238
#[ allow( unused_imports) ]
240
- #[ cfg( not( target_os = "android" ) ) ]
241
239
pub use libc:: signal;
242
240
243
- #[ cfg( target_os = "android" ) ]
244
- pub use crate :: sys:: android:: signal;
245
-
246
241
#[ inline]
247
242
pub ( crate ) fn is_interrupted ( errno : i32 ) -> bool {
248
243
errno == libc:: EINTR
You can’t perform that action at this time.
0 commit comments