Skip to content

Commit 0f135f7

Browse files
committed
Enable outline-atomics by default on AArch64 Fuchsia
Clang has done this by default since LLVM commit 1a963d3 ("[Driver] Make -moutline-atomics default for aarch64-fuchsia targets"), [1], so do the same here. [1]: llvm/llvm-project@1a963d3
1 parent d8eb386 commit 0f135f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_target/src/spec/targets/aarch64_unknown_fuchsia.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use crate::spec::{
55
pub(crate) fn target() -> Target {
66
let mut base = base::fuchsia::opts();
77
base.cpu = "generic".into();
8-
base.features = "+v8a,+crc,+aes,+sha2,+neon".into();
8+
base.features = "+v8a,+crc,+aes,+sha2,+neon,+outline-atomics".into();
99
base.max_atomic_width = Some(128);
1010
base.stack_probes = StackProbeType::Inline;
1111
base.supported_sanitizers = SanitizerSet::ADDRESS

0 commit comments

Comments
 (0)