File tree Expand file tree Collapse file tree 3 files changed +295
-259
lines changed Expand file tree Collapse file tree 3 files changed +295
-259
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ fn main() {
8585 println ! ( "cargo:rustc-check-cfg=cfg(reliable_f16)" ) ;
8686 println ! ( "cargo:rustc-check-cfg=cfg(reliable_f128)" ) ;
8787
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
8989 // aren't consistently available or correct.
9090 println ! ( "cargo:rustc-check-cfg=cfg(reliable_f16_math)" ) ;
9191 println ! ( "cargo:rustc-check-cfg=cfg(reliable_f128_math)" ) ;
@@ -136,14 +136,14 @@ fn main() {
136136 // LLVM is currenlty adding missing routines, <https://github.com/llvm/llvm-project/issues/93566>
137137 let has_reliable_f16_math = has_reliable_f16
138138 && match ( target_arch. as_str ( ) , target_os. as_str ( ) ) {
139- ( "aarch64 " , _) => true ,
140- _ => false ,
139+ ( "x86 " , _) => false ,
140+ _ => true ,
141141 } ;
142142
143143 let has_reliable_f128_math = has_reliable_f128
144144 && match ( target_arch. as_str ( ) , target_os. as_str ( ) ) {
145- ( "aarch64" , _) => true ,
146- _ => false ,
145+ // ("aarch64", _) => false ,
146+ _ => true ,
147147 } ;
148148
149149 if has_reliable_f16 {
You can’t perform that action at this time.
0 commit comments