Enable `outline-atomics` by default on aarch64 platforms without LSE
@yash-rana0101 is already working on this.
Since Feb 20, 2026.
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
Since https://github.com/rust-lang/rust/pull/144938 and https://github.com/rust-lang/rust/pull/149633, most Aarch64 platforms that don't have LSE in the baseline enable the +outline-atomics target feature. We keep getting more targets that fall into this boat, however, so it's probably worth making this the default.
I think we can probably just unconditionally enable outline-atomics on all aarch64 targets without checking LSE, since LLVM should ignore it if +lse is also set/implied.
Note that Apple targets would need an explicit disable until https://github.com/rust-lang/rust/issues/149634 is fixed.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.