Skip to content

Commit a6f7ac8

Browse files
committed
Test updates
1 parent 4db2fb3 commit a6f7ac8

File tree

3 files changed

+295
-259
lines changed

3 files changed

+295
-259
lines changed

library/std/build.rs

+5-5
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)