File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/rustc_target/src/spec Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ pub fn target() -> Target {
18
18
cpu : "generic-rv32" . to_string ( ) ,
19
19
20
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 )`
21
+ // the __atomic* and __sync* GCC builtins, so setting `max_atomic_width` to `Some(64 )`
22
22
// and `atomic_cas` to `true` will cause the compiler to emit libcalls to these builtins.
23
23
//
24
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 ) ,
25
+ max_atomic_width : Some ( 64 ) ,
26
26
atomic_cas : true ,
27
27
28
28
features : "+m,+c" . to_string ( ) ,
You can’t perform that action at this time.
0 commit comments