File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
14
14
- Add ` HistoryBuffer::as_slices() `
15
15
- Implemented ` retain ` for ` IndexMap ` and ` IndexSet ` .
16
16
- Recover ` StableDeref ` trait for ` pool::object::Object ` and ` pool::boxed::Box ` .
17
+ - Add polyfills for ESP32S2
17
18
18
19
### Changed
19
20
Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ atomic-polyfill = { version = "1.0.1" }
34
34
[target .riscv32imc-unknown-none-elf .dependencies ]
35
35
atomic-polyfill = { version = " 1.0.1" }
36
36
37
+ [target .xtensa-esp32s2-none-elf .dependencies ]
38
+ atomic-polyfill = { version = " 1.0.1" }
39
+
37
40
[target .'cfg(target_arch = "avr")' .dependencies ]
38
41
atomic-polyfill = { version = " 1.0.1" , optional = true }
39
42
Original file line number Diff line number Diff line change @@ -76,7 +76,9 @@ fn main() -> Result<(), Box<dyn Error>> {
76
76
println ! ( "cargo:rustc-cfg=cas_atomic_polyfill" ) ;
77
77
} else {
78
78
match & target[ ..] {
79
- "riscv32i-unknown-none-elf" | "riscv32imc-unknown-none-elf" => {
79
+ "riscv32i-unknown-none-elf"
80
+ | "riscv32imc-unknown-none-elf"
81
+ | "xtensa-esp32s2-none-elf" => {
80
82
println ! ( "cargo:rustc-cfg=full_atomic_polyfill" ) ;
81
83
println ! ( "cargo:rustc-cfg=cas_atomic_polyfill" ) ;
82
84
}
You can’t perform that action at this time.
0 commit comments