The Wayback Machine - https://web.archive.org/web/20210909053156/https://github.com/rust-lang/rust/pull/88551
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

Stabilize UnsafeCell::raw_get() #88551

Merged
merged 2 commits into from Sep 1, 2021

Conversation

@inquisitivecrystal
Copy link
Contributor

@inquisitivecrystal inquisitivecrystal commented Aug 31, 2021

This PR stabilizes the associated function UnsafeCell::raw_get(). The FCP has already completed. While there was some discussion about the naming after the close of the FCP, it looks like people have agreed on this name. Still, it would probably be best if a libs-api member had a look at this and stated whether more discussion is needed.

While I was at it, I added some tests for UnsafeCell, because there were barely any.

Closes #66358.

@rust-highfive
Copy link
Collaborator

@rust-highfive rust-highfive commented Aug 31, 2021

r? @m-ou-se

(rust-highfive has picked a reviewer for you, use r? to override)

@m-ou-se
Copy link
Member

@m-ou-se m-ou-se commented Sep 1, 2021

@bors r+ rollup

@bors
Copy link
Contributor

@bors bors commented Sep 1, 2021

📌 Commit 227e004 has been approved by m-ou-se

bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 1, 2021
Rollup of 9 pull requests

Successful merges:

 - rust-lang#86376 (Emit specific warning to clarify that `#[no_mangle]` should not be applied on foreign statics or functions)
 - rust-lang#88040 (BTree: remove Ord bound from new)
 - rust-lang#88053 (Fix the flock fallback implementation)
 - rust-lang#88350 (add support for clobbering xer, cr, and cr[0-7] for asm! on OpenPower/PowerPC)
 - rust-lang#88410 (Remove bolding on associated constants)
 - rust-lang#88525 (fix(rustc_typeck): produce better errors for dyn auto trait)
 - rust-lang#88542 (Use the return value of readdir_r() instead of errno)
 - rust-lang#88548 (Stabilize `Iterator::intersperse()`)
 - rust-lang#88551 (Stabilize `UnsafeCell::raw_get()`)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit d313529 into rust-lang:master Sep 1, 2021
10 checks passed
10 checks passed
@github-actions
PR (mingw-check, ubuntu-latest-xl)
Details
@github-actions
PR (x86_64-gnu-llvm-10, ubuntu-latest-xl)
Details
@github-actions
PR (x86_64-gnu-tools, 1, ubuntu-latest-xl)
Details
@github-actions
auto
Details
@github-actions
master
Details
@github-actions
bors build finished
Details
@github-actions
bors build finished
Details
@github-actions
bors build finished
Details
@github-actions
bors build finished
Details
@rustbot rustbot added this to the 1.56.0 milestone Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

5 participants