Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conservatively limit atomic features #1581

Merged
merged 2 commits into from
Jul 17, 2019
Merged

Conversation

Roguelazer
Copy link
Contributor

@Roguelazer Roguelazer commented Jul 17, 2019

Fixes #1579

I grepped through the rust target definitions. Here are the ones with at least 64-bit atomics:

aarch64-apple-ios
aarch64-fuchsia
aarch64-linux-android
aarch64-pc-windows-msvc
aarch64-unknown-cloudabi
aarch64-unknown-freebsd
aarch64-unknown-hermit
aarch64-unknown-linux-gnu
aarch64-unknown-linux-musl
aarch64-unknown-netbsd
aarch64-unknown-none
aarch64-unknown-openbsd
aarch64-wrs-vxworks
arm-unknown-linux-gnueabi
arm-unknown-linux-gnueabihf
arm-unknown-linux-musleabi
arm-unknown-linux-musleabihf
arm-wrs-vxworks
arm-wrs-vxworks-sf
armv6-unknown-freebsd
armv6-unknown-netbsd-eabihf
armv7-apple-ios
armv7-linux-androideabi
armv7-unknown-cloudabi-eabihf
armv7-unknown-freebsd
armv7-unknown-linux-gnueabihf
armv7-unknown-linux-musleabihf
armv7-unknown-netbsd-eabihf
armv7-wrs-vxworks
armv7s-apple-ios
i386-apple-ios
i686-apple-darwin
i686-linux-android
i686-pc-windows-gnu
i686-pc-windows-msvc
i686-unknown-cloudabi
i686-unknown-dragonfly
i686-unknown-freebsd
i686-unknown-haiku
i686-unknown-linux-gnu
i686-unknown-linux-musl
i686-unknown-netbsd
i686-unknown-openbsd
i686-wrs-vxworks
i686-wrs-vxworks-gnu
mips64-unknown-linux-gnuabi64
mips64el-unknown-linux-gnuabi64
mipsisa64r6-unknown-linux-gnuabi64
mipsisa64r6el-unknown-linux-gnuabi64
nvptx64-nvidia-cuda
powerpc64-unknown-freebsd
powerpc64-unknown-linux-gnu
powerpc64-unknown-linux-musl
powerpc64-wrs-vxworks
powerpc64-wrs-vxworks-gnusf
powerpc64le-unknown-linux-gnu
powerpc64le-unknown-linux-musl
riscv64gc-unknown-none-elf
riscv64imac-unknown-none-elf
s390x-unknown-linux-gnu
sparc-unknown-linux-gnu
sparc64-unknown-linux-gnu
sparc64-unknown-netbsd
sparcv9-sun-solaris
thumbv7a-pc-windows-msvc
thumbv7neon-linux-androideabi
thumbv7neon-unknown-linux-gnueabihf
wasm32-base
x86-64-apple-darwin
x86-64-apple-ios
x86-64-fortanix-unknown-sgx
x86-64-fuchsia
x86-64-linux-android
x86-64-pc-windows-gnu
x86-64-pc-windows-msvc
x86-64-rumprun-netbsd
x86-64-sun-solaris
x86-64-unknown-cloudabi
x86-64-unknown-dragonfly
x86-64-unknown-freebsd
x86-64-unknown-haiku
x86-64-unknown-hermit
x86-64-unknown-l4re-uclibc
x86-64-unknown-linux-gnu
x86-64-unknown-linux-gnux32
x86-64-unknown-linux-musl
x86-64-unknown-netbsd
x86-64-unknown-openbsd
x86-64-unknown-redox
x86-64-unknown-uefi
x86-64-wrs-vxworks

Here are the ones without:

arm-linux-androideabi
armebv7r-none-eabi
armebv7r-none-eabihf
armv4t-unknown-linux-gnueabi
armv5te-unknown-linux-gnueabi
armv5te-unknown-linux-musleabi
armv7r-none-eabi
armv7r-none-eabihf
asmjs-unknown-emscripten
mips-unknown-linux-gnu
mips-unknown-linux-musl
mips-unknown-linux-uclibc
mipsel-unknown-linux-gnu
mipsel-unknown-linux-musl
mipsel-unknown-linux-uclibc
mipsisa32r6-unknown-linux-gnu
mipsisa32r6el-unknown-linux-gnu
msp430-none-elf
powerpc-unknown-linux-gnu
powerpc-unknown-linux-gnuspe
powerpc-unknown-linux-musl
powerpc-unknown-netbsd
powerpc-wrs-vxworks
powerpc-wrs-vxworks-gnusf
powerpc-wrs-vxworks-gnuspesf
powerpc-wrs-vxworks-spe
riscv32imac-unknown-none-elf
riscv32imc-unknown-none-elf
thumbv7em-none-eabi
thumbv7em-none-eabihf
thumbv7m-none-eabi
thumbv8m-base-none-eabi
thumbv8m-main-none-eabi
thumbv8m-main-none-eabihf
wasm32-experimental-emscripten
wasm32-unknown-emscripten

Copy link
Member

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dtolnay dtolnay merged commit 3158bf9 into serde-rs:master Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Build failure
2 participants