diff options
| author | bors <bors@rust-lang.org> | 2024-06-27 05:44:47 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-06-27 05:44:47 +0000 |
| commit | 536235f07e57c9108c6c3b1eacb323164e0f4cfb (patch) | |
| tree | d4af9af936d3245d656b74cbf54708b1fa5590fe /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 1def498e3b9adc1ccce3ec5628e9f8755ec96808 (diff) | |
| parent | e57bbb37798ca9e3a4c3a043312b0ed30f9cfd87 (diff) | |
| download | rust-536235f07e57c9108c6c3b1eacb323164e0f4cfb.tar.gz rust-536235f07e57c9108c6c3b1eacb323164e0f4cfb.zip | |
Auto merge of #126907 - glaubitz:sparc-fixes, r=nagisa
Fixes for 32-bit SPARC on Linux This PR fixes a number of issues which previously prevented `rustc` from being built successfully for 32-bit SPARC using the `sparc-unknown-linux-gnu` triplet. In particular, it adds linking against `libatomic` where necessary, uses portable `AtomicU64` for `rustc_data_structures` and rewrites the spec for `sparc_unknown_linux_gnu` to use `TargetOptions` and replaces the previously used `-mv8plus` with the more portable `-mcpu=v9 -m32`. To make `rustc` build successfully, support for 32-bit SPARC needs to be added to the `object` crate as well as the `nix` crate which I will be sending out later as well. r? nagisa
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
