Skip to content

Commit b0bd11b

Browse files
committed
Add +forced-atomics feature to esp32s2 no_std target
1 parent 3ae0ba0 commit b0bd11b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_target/src/spec/targets/xtensa_esp32s2_none_elf.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ pub(crate) fn target() -> Target {
1818
vendor: "espressif".into(),
1919
cpu: "esp32-s2".into(),
2020
linker: Some("xtensa-esp32s2-elf-gcc".into()),
21+
features: "+forced-atomics".into(),
2122
max_atomic_width: Some(32),
2223
..xtensa::opts()
2324
},

0 commit comments

Comments
 (0)