about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2025-06-30 16:53:21 -0500
committerTrevor Gross <tmgross@umich.edu>2025-07-02 01:18:54 -0500
commitbe35d37d8b6c206576ff3cdcad956d921b47cc6b (patch)
treecaf31c698ab2f77edda0fa4be0f290c6fb0ad7df /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent6c4221818e00828ecf54b395475477f49d0ea716 (diff)
downloadrust-be35d37d8b6c206576ff3cdcad956d921b47cc6b.tar.gz
rust-be35d37d8b6c206576ff3cdcad956d921b47cc6b.zip
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions