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 {
1818 cpu : "generic-rv32" . to_string ( ) ,
1919
2020 // 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 )`
2222 // and `atomic_cas` to `true` will cause the compiler to emit libcalls to these builtins.
2323 //
2424 // 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 ) ,
2626 atomic_cas : true ,
2727
2828 features : "+m,+c" . to_string ( ) ,
You can’t perform that action at this time.
0 commit comments