-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Add remaining ordering strengths to atomic types #7422
Labels
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Comments
The atomic types defined in libstd/unstable/atomics.rs already have methods parametrized by memory ordering, that in turn call the appropriate intrinsic. Shouldn't this issue be closed? |
@alchemy yes, well spotted |
osaut
pushed a commit
to osaut/rust
that referenced
this issue
Oct 31, 2013
Added missing memory orderings for atomic types. rust-lang#7422
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Jul 15, 2021
Downgrade nonstandard_macro_braces to nursery Due to the large number of crates impacted by rust-lang#7422, I don't think this lint can be enabled by default right now until the false positive is fixed. --- changelog: remove [`nonstandard_macro_braces`] from default set of enabled lints
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Jul 15, 2021
Fix emitting in nested (proc_)macros for nonstandard_macro_braces lint fixes rust-lang#7422 changelog: fixes false positives in [`nonstandard_macro_braces`]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
We currently only have sequentially consistent (the strongest) and the acquire/release pair for ordering constraints. The intrinsics to support these have now been added, so the types should be extended to implement them.
The text was updated successfully, but these errors were encountered: