Skip to content

Commit

Permalink
#487 Add thumbv4t-none-eabi to the list of targets that don't support…
Browse files Browse the repository at this point in the history
… atomics.
  • Loading branch information
wtetzner committed Feb 27, 2022
1 parent 21e30fc commit 8038ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ fn target_has_atomic_cas(target: &str) -> bool {

fn target_has_atomics(target: &str) -> bool {
match &target[..] {
"msp430-none-elf" | "riscv32i-unknown-none-elf" | "riscv32imc-unknown-none-elf" => false,
"thumbv4t-none-eabi" | "msp430-none-elf" | "riscv32i-unknown-none-elf" | "riscv32imc-unknown-none-elf" => false,
_ => true,
}
}
Expand Down

0 comments on commit 8038ea8

Please sign in to comment.