Skip to content

Document UnsafeCell special-casing in shared statics#2169

Draft
madsmtm wants to merge 1 commit intorust-lang:masterfrom
madsmtm:unsafecell-shared-static
Draft

Document UnsafeCell special-casing in shared statics#2169
madsmtm wants to merge 1 commit intorust-lang:masterfrom
madsmtm:unsafecell-shared-static

Conversation

@madsmtm
Copy link
Contributor

@madsmtm madsmtm commented Feb 12, 2026

WIP on how the reference would change after rust-lang/rust#152540 is stabilized.

@@ -126,7 +129,7 @@ fn bump_levels_safe() -> u32 {
```

r[items.static.mut.sync]
Copy link
Contributor Author

@madsmtm madsmtm Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unsure about the name of this rule label now.

@ehuss ehuss added the S-waiting-on-stabilization Waiting for a stabilization PR to be merged in the main Rust repository label Feb 12, 2026
@ehuss ehuss added the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: The marked PR is awaiting review from a maintainer S-waiting-on-stabilization Waiting for a stabilization PR to be merged in the main Rust repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants