rust/library/compiler-builtins/builtins-test/tests
Trevor Gross be35d37d8b
Use the compiler to determine whether or not to enable f16 and f128
Currently we whether or not to build and test `f16` and `f128` support
mostly based on the target triple. This isn't always accurate, however,
since support also varies by backend and the backend version.

Since recently, `rustc` is aware of this with the unstable config option
`target_has_reliable_{f16,f128}`, which better represents when the types
are actually expected to be available and usable. Switch our
compiler-builtins and libm configuration to use this by probing `rustc`
for the target's settings.

A few small `cfg` fixes are needed with this.
2025-07-02 01:18:54 -05:00
..
addsub.rs Rename testcrate to builtins-test 2025-04-18 21:14:41 -04:00
aeabi_memclr.rs Change compiler-builtins to edition 2024 2025-05-29 16:12:33 +00:00
aeabi_memcpy.rs Change compiler-builtins to edition 2024 2025-05-29 16:12:33 +00:00
aeabi_memset.rs Change compiler-builtins to edition 2024 2025-05-29 16:12:33 +00:00
big.rs Rename testcrate to builtins-test 2025-04-18 21:14:41 -04:00
cmp.rs Run cargo fmt on all projects 2025-04-19 19:05:49 -04:00
conv.rs Use the compiler to determine whether or not to enable f16 and f128 2025-07-02 01:18:54 -05:00
div_rem.rs Use the compiler to determine whether or not to enable f16 and f128 2025-07-02 01:18:54 -05:00
float_pow.rs Enable __powitf2 on MSVC 2025-05-21 19:24:24 +02:00
lse.rs Eliminate build.rs-generated Aarch64 atomic macros (#951) 2025-06-13 01:27:47 -04:00
mem.rs Rename testcrate to builtins-test 2025-04-18 21:14:41 -04:00
misc.rs Resolve unnecessary_transmutes lints 2025-04-29 18:15:02 -04:00
mul.rs Resolve unnecessary_transmutes lints 2025-04-29 18:15:02 -04:00
shift.rs Rename testcrate to builtins-test 2025-04-18 21:14:41 -04:00