diff options
| author | Laurențiu Nicola <lnicola@users.noreply.github.com> | 2025-07-28 17:42:46 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-28 17:42:46 +0000 |
| commit | 36df2c98c115567548b5255591230d8cb945f6b9 (patch) | |
| tree | cffe57c07ed1aacf9f12d0a1a3ad98454244235d /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | 2e3688e5b2f0c8c2831bf807f3f2a83b3e8f2654 (diff) | |
| parent | cde861ef363b9121335fba830e2151557dcab985 (diff) | |
| download | rust-36df2c98c115567548b5255591230d8cb945f6b9.tar.gz rust-36df2c98c115567548b5255591230d8cb945f6b9.zip | |
Merge pull request #20321 from rust-lang/rustc-pull
Rustc pull update
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm_util.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm_util.rs b/compiler/rustc_codegen_llvm/src/llvm_util.rs index 0fb987bdf82..53899da183a 100644 --- a/compiler/rustc_codegen_llvm/src/llvm_util.rs +++ b/compiler/rustc_codegen_llvm/src/llvm_util.rs @@ -405,6 +405,8 @@ fn update_target_reliable_float_cfg(sess: &Session, cfg: &mut TargetConfig) { ("mips64" | "mips64r6", _) => false, // Selection bug <https://github.com/llvm/llvm-project/issues/95471> ("nvptx64", _) => false, + // Unsupported https://github.com/llvm/llvm-project/issues/121122 + ("amdgpu", _) => false, // ABI bugs <https://github.com/rust-lang/rust/issues/125109> et al. (full // list at <https://github.com/rust-lang/rust/issues/116909>) ("powerpc" | "powerpc64", _) => false, @@ -433,6 +435,9 @@ fn update_target_reliable_float_cfg(sess: &Session, cfg: &mut TargetConfig) { // This rules out anything that doesn't have `long double` = `binary128`; <= 32 bits // (ld is `f64`), anything other than Linux (Windows and MacOS use `f64`), and `x86` // (ld is 80-bit extended precision). + // + // musl does not implement the symbols required for f128 math at all. + _ if target_env == "musl" => false, ("x86_64", _) => false, (_, "linux") if target_pointer_width == 64 => true, _ => false, |
