-
Notifications
You must be signed in to change notification settings - Fork 480
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
Attempting to use Atomics larger than max. atomic width #731
Comments
Currently, crossbeam's build script only handles built-in targets. For custom targets, it is recommended that set rustflags for now. See also #698, rust-lang/futures-rs#2400, rust-lang/futures-rs#2294.
To enable |
This way of specifying rustflags in
Thanks for helping! |
I am trying to compile
crossbeam-utils = "0.8"
for a non-unix target and I get this error:The target I am compiling to has
max_atomic_width: Some(32),
set similar to what it is here:https://github.com/rust-lang/rust/blob/e3231e35b6bbfabca1d9ceff9c4690af00328706/src/librustc_back/target/armv4t_unknown_linux_gnueabi.rs#L31
So, I think it makes sense why
AtomicI64, AtomicU64
are not available from the standard library for my target. I see that you have acrossbeam_no_atomic_64
cfg available, but I could not set it like:Do you know a way I can make it compile where maximum atomic width is 32 bits?
The text was updated successfully, but these errors were encountered: