-
Notifications
You must be signed in to change notification settings - Fork 224
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
lock_api doesn't build for targets without atomics #277
Comments
This seems like a bug in the RISC-V target. |
The |
The The other operations on |
Ah, I see! I'll try to take this upstream then, thanks. |
lock_api unconditionally compiles remutex.rs, which imports
core::sync::atomic::AtomicUsize
. This struct is not available on targets without atomics, so it would be nice to be able to just use this library without the remutexes (i.e. by hiding them behind a feature flag, since rust-lang/rust#64797 doesn't exist yet).The text was updated successfully, but these errors were encountered: