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/).
1414- Add ` HistoryBuffer::as_slices() `
1515- Implemented ` retain ` for ` IndexMap ` and ` IndexSet ` .
1616- Recover ` StableDeref ` trait for ` pool::object::Object ` and ` pool::boxed::Box ` .
17+ - Add polyfills for ESP32S2
1718
1819### Changed
1920
Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ atomic-polyfill = { version = "1.0.1" }
3434[target .riscv32imc-unknown-none-elf .dependencies ]
3535atomic-polyfill = { version = " 1.0.1" }
3636
37+ [target .xtensa-esp32s2-none-elf .dependencies ]
38+ atomic-polyfill = { version = " 1.0.1" }
39+
3740[target .'cfg(target_arch = "avr")' .dependencies ]
3841atomic-polyfill = { version = " 1.0.1" , optional = true }
3942
Original file line number Diff line number Diff line change @@ -76,7 +76,9 @@ fn main() -> Result<(), Box<dyn Error>> {
7676 println ! ( "cargo:rustc-cfg=cas_atomic_polyfill" ) ;
7777 } else {
7878 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" => {
8082 println ! ( "cargo:rustc-cfg=full_atomic_polyfill" ) ;
8183 println ! ( "cargo:rustc-cfg=cas_atomic_polyfill" ) ;
8284 }
You can’t perform that action at this time.
0 commit comments