Skip to content

Commit 662a224

Browse files
committed
Correct sys_avialable for f64 -> f16 truncation
The `sys_available` gate was incorrect. Update it.
1 parent f2de609 commit 662a224

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testcrate/benches/float_trunc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ float_bench! {
3232
sig: (a: f64) -> f16,
3333
crate_fn: trunc::__truncdfhf2,
3434
sys_fn: __truncdfhf2,
35-
sys_available: not(feature = "no-sys-f128"),
35+
sys_available: not(feature = "no-sys-f16"),
3636
asm: [
3737
#[cfg(target_arch = "aarch64")] {
3838
// FIXME(f16_f128): remove `from_bits()` after f16 asm support (rust-lang/rust/#116909)

0 commit comments

Comments
 (0)