it seems that I do not need to emit cargo:rustc-cfg=has_atomics for avr-atmega*

This commit is contained in:
Robert Forsman 2022-06-03 12:32:23 -04:00
parent 3b9b9f7548
commit 2150effc73

View File

@ -45,8 +45,6 @@ fn main() -> Result<(), Box<dyn Error>> {
match &target[..] {
"avr-unknown-gnu-atmega328"
| "msp430-none-elf"
| "avr-atmega328p"
| "avr-atmega2560"
// | "riscv32i-unknown-none-elf" // supported by atomic-polyfill
// | "riscv32imc-unknown-none-elf" // supported by atomic-polyfill
=> {}