diff options
| author | Hans Kratz <hans@appfour.com> | 2021-11-10 20:24:33 +0100 |
|---|---|---|
| committer | Hans Kratz <hans@appfour.com> | 2021-11-10 20:24:33 +0100 |
| commit | bd287fa5084f2e153c1044632f9f3d190f090d69 (patch) | |
| tree | bd781d2f6dbeb93c2ff12f428f46c3effd4477f2 | |
| parent | 68ca579406f2fa9ec62710e4a4d5d3e07a168d3c (diff) | |
Disable aarch64 outline atomics with musl for now.
The introduced dependency on `getauxval`causes linking problems with musl, see #89626.
| -rw-r--r-- | compiler/rustc_target/src/spec/aarch64_unknown_linux_musl.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler/rustc_target/src/spec/aarch64_unknown_linux_musl.rs b/compiler/rustc_target/src/spec/aarch64_unknown_linux_musl.rs index 0770f3496c2..6a16b4ce419 100644 --- a/compiler/rustc_target/src/spec/aarch64_unknown_linux_musl.rs +++ b/compiler/rustc_target/src/spec/aarch64_unknown_linux_musl.rs @@ -9,10 +9,6 @@ pub fn target() -> Target { pointer_width: 64, data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".to_string(), arch: "aarch64".to_string(), - options: TargetOptions { - features: "+outline-atomics".to_string(), - mcount: "\u{1}_mcount".to_string(), - ..base - }, + options: TargetOptions { mcount: "\u{1}_mcount".to_string(), ..base }, } } |
