Skip to content

Commit

Permalink
Test updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Jul 12, 2024
1 parent 4db2fb3 commit a6f7ac8
Show file tree
Hide file tree
Showing 3 changed files with 295 additions and 259 deletions.
10 changes: 5 additions & 5 deletions library/std/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ fn main() {
println!("cargo:rustc-check-cfg=cfg(reliable_f16)");
println!("cargo:rustc-check-cfg=cfg(reliable_f128)");

// This is a step above just having the types and basic functions available. Math functions
// This is a step beyond only having the types and basic functions available. Math functions
// aren't consistently available or correct.
println!("cargo:rustc-check-cfg=cfg(reliable_f16_math)");
println!("cargo:rustc-check-cfg=cfg(reliable_f128_math)");
Expand Down Expand Up @@ -136,14 +136,14 @@ fn main() {
// LLVM is currenlty adding missing routines, </~https://github.com/llvm/llvm-project/issues/93566>
let has_reliable_f16_math = has_reliable_f16
&& match (target_arch.as_str(), target_os.as_str()) {
("aarch64", _) => true,
_ => false,
("x86", _) => false,
_ => true,
};

let has_reliable_f128_math = has_reliable_f128
&& match (target_arch.as_str(), target_os.as_str()) {
("aarch64", _) => true,
_ => false,
// ("aarch64", _) => false,
_ => true,
};

if has_reliable_f16 {
Expand Down
Loading

0 comments on commit a6f7ac8

Please sign in to comment.