rust/compiler/rustc_target/src/spec
许杰友 Jieyou Xu (Joe) 46f826cff7
Rollup merge of #133599 - esp-rs:target/esp32s2-forced-atomics, r=Amanieu
Add `+forced-atomics` feature to esp32s2 no_std  target

Similar to https://github.com/rust-lang/rust/pull/114499 but for the Xtensa backend. The ESP32-S2 doesn't have native atomic support, but can have atomic load/stores as part of the ISA with this LLVM codegen feature.

Note: The current rev of LLVM that rustc is using doesn't contain the `+forced-atomics` feature for Xtensa, but I'm pushing this now to remove the patch from our fork in `esp-rs/rust`.

r? ``@Amanieu`` because you reviewed the related RISC-V PR
2024-11-30 12:56:53 +08:00
..
base Move Mach-O platform information to rustc_codegen_ssa:🔙:apple 2024-11-01 17:07:19 +01:00
targets Add +forced-atomics feature to esp32s2 2024-11-28 21:41:34 +00:00
crt_objects.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
json.rs move target JSON (de)serialization to separate file 2024-11-28 07:58:46 +01:00
mod.rs move target JSON (de)serialization to separate file 2024-11-28 07:58:46 +01:00