-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 Atomic*::from_ptr
#108540
Add Atomic*::from_ptr
#108540
Conversation
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
430ed83
to
4a2c555
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Can you open a tracking issue? Thanks! |
I've opened a tracking issue |
Thanks! @bors r+ |
…iaskrgr Rollup of 8 pull requests Successful merges: - rust-lang#104549 (add -Zexport-executable-symbols to unstable book) - rust-lang#108292 (Label opaque type for 'captures lifetime' error message) - rust-lang#108540 (Add `Atomic*::from_ptr`) - rust-lang#108634 (Add link to component dashboard) - rust-lang#108647 (Remove dead pgo.sh file) - rust-lang#108678 (Use `Option::as_slice` where applicable) - rust-lang#108681 (Improve comments in `needs_process_obligation`.) - rust-lang#108688 (Match unmatched backticks in library/) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This PR adds functions in the following form to all atomic types:
r? @m-ou-se (we've talked about it before)
I'm not sure about docs & safety requirements, I'd appreciate some feedback on them.