mirror of
https://github.com/openharmony/third_party_rust_log.git
synced 2026-07-01 05:35:43 -04:00
#487 Add thumbv4t-none-eabi to the list of targets that don't support atomics.
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user