We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c651ba8 commit 65614e9Copy full SHA for 65614e9
compiler/rustc_target/src/spec/riscv32imc_esp_espidf.rs
@@ -18,11 +18,11 @@ pub fn target() -> Target {
18
cpu: "generic-rv32".to_string(),
19
20
// While the RiscV32IMC architecture does not natively support atomics, ESP-IDF does support
21
- // the __atomic* and __sync* GCC builtins, so setting `max_atomic_width` to `Some(32)`
+ // the __atomic* and __sync* GCC builtins, so setting `max_atomic_width` to `Some(64)`
22
// and `atomic_cas` to `true` will cause the compiler to emit libcalls to these builtins.
23
//
24
// Support for atomics is necessary for the Rust STD library, which is supported by the ESP-IDF framework.
25
- max_atomic_width: Some(32),
+ max_atomic_width: Some(64),
26
atomic_cas: true,
27
28
features: "+m,+c".to_string(),
0 commit comments