File tree 3 files changed +295
-259
lines changed
3 files changed +295
-259
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ fn main() {
85
85
println ! ( "cargo:rustc-check-cfg=cfg(reliable_f16)" ) ;
86
86
println ! ( "cargo:rustc-check-cfg=cfg(reliable_f128)" ) ;
87
87
88
- // This is a step above just having the types and basic functions available. Math functions
88
+ // This is a step beyond only having the types and basic functions available. Math functions
89
89
// aren't consistently available or correct.
90
90
println ! ( "cargo:rustc-check-cfg=cfg(reliable_f16_math)" ) ;
91
91
println ! ( "cargo:rustc-check-cfg=cfg(reliable_f128_math)" ) ;
@@ -136,14 +136,14 @@ fn main() {
136
136
// LLVM is currenlty adding missing routines, <https://github.com/llvm/llvm-project/issues/93566>
137
137
let has_reliable_f16_math = has_reliable_f16
138
138
&& match ( target_arch. as_str ( ) , target_os. as_str ( ) ) {
139
- ( "aarch64 " , _) => true ,
140
- _ => false ,
139
+ ( "x86 " , _) => false ,
140
+ _ => true ,
141
141
} ;
142
142
143
143
let has_reliable_f128_math = has_reliable_f128
144
144
&& match ( target_arch. as_str ( ) , target_os. as_str ( ) ) {
145
- ( "aarch64" , _) => true ,
146
- _ => false ,
145
+ // ("aarch64", _) => false ,
146
+ _ => true ,
147
147
} ;
148
148
149
149
if has_reliable_f16 {
You can’t perform that action at this time.
0 commit comments