-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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 ptr_const_cast #100184
Stabilize ptr_const_cast #100184
Conversation
r? @m-ou-se (rust-highfive has picked a reviewer for you, use r? to override) |
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
@rustbot label +T-libs-api -T-libs |
1d3d615
to
0e5d0e6
Compare
r? @thomcc Looks like others are on holiday or something, hope this is OK. |
library/core/src/ptr/const_ptr.rs
Outdated
#[unstable(feature = "ptr_const_cast", issue = "92675")] | ||
#[rustc_const_unstable(feature = "ptr_const_cast", issue = "92675")] | ||
#[stable(feature = "ptr_const_cast", since = "1.64.0")] | ||
#[rustc_const_stable(feature = "ptr_const_cast", since = "1.64.0")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this missed 1.64, so will need to be 1.65 now: https://github.com/rust-lang/rust/blob/master/src/version
0e5d0e6
to
a8d32cd
Compare
The Miri submodule was changed cc @rust-lang/miri Some changes occurred in src/tools/cargo cc @ehuss |
This stabilizes `ptr_const_cast` feature as was decided in a recent [FCP](rust-lang#92675 (comment)) Closes rust-lang#92675
a8d32cd
to
2a3ce78
Compare
@rustbot label -A-bootstrap Sorry for the noise, submodules are annoying. |
I'm not t-libs-api so the original reviewer was better, sorry. r? @m-ou-se |
@bors r+ rollup |
Rollup of 11 pull requests Successful merges: - rust-lang#92744 (Check if enum from foreign crate has any non exhaustive variants when attempting a cast) - rust-lang#99110 (Determine match_has_guard from candidates instead of looking up thir table again) - rust-lang#100184 (Stabilize ptr_const_cast) - rust-lang#100192 ( Remove duplicated temporaries creating during box derefs elaboration) - rust-lang#100232 (Do not consider method call receiver as an argument in AST.) - rust-lang#100287 (linux: Use `pthread_setname_np` instead of `prctl`) - rust-lang#100351 (Use `&mut Diagnostic` instead of `&mut DiagnosticBuilder` unless needed) - rust-lang#100370 (Remove more Clean trait implementations) - rust-lang#100391 (Improve size assertions) - rust-lang#100398 (Improve `-Zhir-stats`) - rust-lang#100403 (Improve error messages when running rustdoc GUI tests) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This stabilizes
ptr_const_cast
feature as was decided in a recentFCP
Closes #92675