Skip to content

Commit

Permalink
Disable aarch64 outline atomics with musl for now.
Browse files Browse the repository at this point in the history
The introduced dependency on `getauxval`causes linking
problems with musl, see #89626.
  • Loading branch information
hkratz committed Nov 10, 2021
1 parent 68ca579 commit bd287fa
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions compiler/rustc_target/src/spec/aarch64_unknown_linux_musl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
}
}

0 comments on commit bd287fa

Please sign in to comment.