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

switch to AtomicU64/AtomicI64 when they stabilize, remove most "as usize" / "as u64" casts #548

Closed
spacejam opened this issue Feb 19, 2019 · 1 comment

Comments

@spacejam
Copy link
Owner

AtomicU64/I64 are nearly stable. We should adopt these everywhere as long as it is feasible to do so on 32-bit x86 and ARM targets.

this one should make @lucab happy xD

@lucab
Copy link
Contributor

lucab commented Mar 26, 2019

rust-lang/rust#57425 stabilized 64bits atomics for arches which supports them. It is coming to Rust stable >= 1.34. There are a few caveats about 32-bits non-Intel arches where they are not available, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants