Skip to content

Commit c8ab8ef

Browse files
committed
Unconditionally enable f16 & f128 to see what passes with llvm21
1 parent e74519e commit c8ab8ef

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

compiler-builtins/configure.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,10 @@ impl Target {
5555
.collect(),
5656
// Note that these are unstable options, so only show up with the nightly compiler or
5757
// with `RUSTC_BOOTSTRAP=1` (which is required to use the types anyway).
58-
reliable_f128: env::var_os("CARGO_CFG_TARGET_HAS_RELIABLE_F128").is_some(),
59-
reliable_f16: env::var_os("CARGO_CFG_TARGET_HAS_RELIABLE_F16").is_some(),
58+
// reliable_f128: env::var_os("CARGO_CFG_TARGET_HAS_RELIABLE_F128").is_some(),
59+
// reliable_f16: env::var_os("CARGO_CFG_TARGET_HAS_RELIABLE_F16").is_some(),
60+
reliable_f16: true,
61+
reliable_f128: true,
6062
}
6163
}
6264

libm/configure.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@ impl Config {
4848
target_features,
4949
// Note that these are unstable options, so only show up with the nightly compiler or
5050
// with `RUSTC_BOOTSTRAP=1` (which is required to use the types anyway).
51-
reliable_f128: env::var_os("CARGO_CFG_TARGET_HAS_RELIABLE_F128").is_some(),
52-
reliable_f16: env::var_os("CARGO_CFG_TARGET_HAS_RELIABLE_F16").is_some(),
51+
// reliable_f128: env::var_os("CARGO_CFG_TARGET_HAS_RELIABLE_F128").is_some(),
52+
// reliable_f16: env::var_os("CARGO_CFG_TARGET_HAS_RELIABLE_F16").is_some(),
53+
reliable_f16: true,
54+
reliable_f128: true,
5355
}
5456
}
5557
}

0 commit comments

Comments
 (0)