diff options
| author | beetrees <b@beetr.ee> | 2024-07-30 12:38:06 +0100 |
|---|---|---|
| committer | beetrees <b@beetr.ee> | 2024-07-30 20:23:33 +0100 |
| commit | fe6478cc539cfe17b4f5fc10f46928c6b16e6ef0 (patch) | |
| tree | f7d76bf79284d922407118a62199b4b03f332e04 /library/std/build.rs | |
| parent | e69c19ea0b8cf29ab8188a0eb5e899655464a1ff (diff) | |
| download | rust-fe6478cc539cfe17b4f5fc10f46928c6b16e6ef0.tar.gz rust-fe6478cc539cfe17b4f5fc10f46928c6b16e6ef0.zip | |
Match LLVM ABI in `extern "C"` functions for `f128` on Windows
Diffstat (limited to 'library/std/build.rs')
| -rw-r--r-- | library/std/build.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/library/std/build.rs b/library/std/build.rs index c542ba81eed..9b58dd53ba2 100644 --- a/library/std/build.rs +++ b/library/std/build.rs @@ -94,7 +94,7 @@ fn main() { // Unsupported <https://github.com/llvm/llvm-project/issues/94434> ("arm64ec", _) => false, // MinGW ABI bugs <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115054> - ("x86", "windows") => false, + ("x86_64", "windows") => false, // x86 has ABI bugs that show up with optimizations. This should be partially fixed with // the compiler-builtins update. <https://github.com/rust-lang/rust/issues/123885> ("x86" | "x86_64", _) => false, @@ -122,6 +122,8 @@ fn main() { ("nvptx64", _) => false, // ABI unsupported <https://github.com/llvm/llvm-project/issues/41838> ("sparc", _) => false, + // MinGW ABI bugs <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115054> + ("x86_64", "windows") => false, // 64-bit Linux is about the only platform to have f128 symbols by default (_, "linux") if target_pointer_width == 64 => true, // Same as for f16, except MacOS is also missing f128 symbols. |
