diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-08-17 12:32:55 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-17 12:32:55 +0200 |
| commit | 64cd65758cefc02e4fa7518b20582465fbce5a6c (patch) | |
| tree | 463fa1734bbb3c27689ea62b525abed512e4c66b /compiler/rustc_codegen_gcc | |
| parent | d956734f9f077d46d4237745fcf2cafdc5ded6ce (diff) | |
| parent | 8439080f270956e8bba3e57a3432e455fd62ab85 (diff) | |
| download | rust-64cd65758cefc02e4fa7518b20582465fbce5a6c.tar.gz rust-64cd65758cefc02e4fa7518b20582465fbce5a6c.zip | |
Rollup merge of #100621 - taiki-e:armv4t-atomics-32, r=cuviper
Pass +atomics-32 feature for {arm,thumb}v4t-none-eabi
Similar to https://github.com/rust-lang/rust/commit/89582e8193e0da64a54c4ffae7f9fa64ed9fe2af, but for ARMv4t.
Pre-v6 ARM target does not have atomic CAS, except for Linux and Android where atomic CAS is provided by compiler-builtins. So, there is a similar issue as thumbv6m.
I have confirmed that enabling the `atomics-32` target feature fixes the problem in the project affected by this issue. (https://github.com/taiki-e/portable-atomic/pull/28#discussion_r946604136)
Closes #100619
r? ``@nikic``
cc ``@Lokathor``
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
