Skip to content

Commit 407ba94

Browse files
committed
Update no_atomic.rs
1 parent b0d0039 commit 407ba94

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

ci/no_atomic.sh

+3-5
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,10 @@ for target in $(rustc --print target-list); do
2828
# for now.
2929
32 | null) no_atomic_64+=("${target}") ;;
3030
# `"max-atomic-width" == 0` means that atomic is not supported at all.
31-
0)
32-
no_atomic_64+=("${target}")
33-
no_atomic+=("${target}")
34-
;;
31+
# We do not have a cfg for targets with {8,16}-bit atomic only, so
32+
# for now we treat them the same as targets that do not support atomic.
33+
0 | 8 | 16) no_atomic+=("${target}") ;;
3534
64 | 128) ;;
36-
# There is no `"max-atomic-width" == 16` or `"max-atomic-width" == 8` targets.
3735
*) exit 1 ;;
3836
esac
3937
case "${min_atomic_width}" in

valuable/no_atomic.rs

+3-6
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,19 @@ const NO_ATOMIC_64: &[&str] = &[
2525
"armv5te-unknown-linux-musleabi",
2626
"armv5te-unknown-linux-uclibceabi",
2727
"armv6k-nintendo-3ds",
28-
"avr-unknown-gnu-atmega328",
28+
"csky-unknown-linux-gnuabiv2",
2929
"hexagon-unknown-linux-musl",
3030
"m68k-unknown-linux-gnu",
3131
"mips-unknown-linux-gnu",
3232
"mips-unknown-linux-musl",
3333
"mips-unknown-linux-uclibc",
3434
"mipsel-sony-psp",
35-
"mipsel-sony-psx",
3635
"mipsel-unknown-linux-gnu",
3736
"mipsel-unknown-linux-musl",
3837
"mipsel-unknown-linux-uclibc",
3938
"mipsel-unknown-none",
4039
"mipsisa32r6-unknown-linux-gnu",
4140
"mipsisa32r6el-unknown-linux-gnu",
42-
"msp430-none-elf",
4341
"powerpc-unknown-freebsd",
4442
"powerpc-unknown-linux-gnu",
4543
"powerpc-unknown-linux-gnuspe",
@@ -50,11 +48,10 @@ const NO_ATOMIC_64: &[&str] = &[
5048
"powerpc-wrs-vxworks-spe",
5149
"riscv32gc-unknown-linux-gnu",
5250
"riscv32gc-unknown-linux-musl",
53-
"riscv32i-unknown-none-elf",
54-
"riscv32im-unknown-none-elf",
5551
"riscv32imac-unknown-none-elf",
5652
"riscv32imac-unknown-xous-elf",
57-
"riscv32imc-unknown-none-elf",
53+
"sparc-unknown-linux-gnu",
54+
"sparc-unknown-none-elf",
5855
"thumbv4t-none-eabi",
5956
"thumbv5te-none-eabi",
6057
"thumbv6m-none-eabi",

0 commit comments

Comments
 (0)