We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e118399 commit d2618e3Copy full SHA for d2618e3
compiler/rustc_target/src/spec/riscv32imac_esp_espidf.rs
@@ -15,11 +15,8 @@ pub fn target() -> Target {
15
linker: Some("riscv32-esp-elf-gcc".into()),
16
cpu: "generic-rv32".into(),
17
18
- // While the RiscV32IMC architecture does not natively support atomics, ESP-IDF does support
19
- // the __atomic* and __sync* GCC builtins, so setting `max_atomic_width` to `Some(64)`
20
- // and `atomic_cas` to `true` will cause the compiler to emit libcalls to these builtins.
21
- //
22
- // Support for atomics is necessary for the Rust STD library, which is supported by the ESP-IDF framework.
+ // As RiscV32IMAC architecture does natively support atomics,
+ // automatically enable the support for the Rust STD library.
23
max_atomic_width: Some(64),
24
atomic_cas: true,
25
0 commit comments