-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Change assert_unsafe_precondition
docs to refer to check_language_ub
#129376
Change assert_unsafe_precondition
docs to refer to check_language_ub
#129376
Conversation
rustbot has assigned @workingjubilee. Use |
Thanks! |
That tracking issue is for the compiler feature. The feature I added to the library is only meant for internal use so std can use the core feature. It was not intended to be stabilized as a library feature. |
@the8472 Should I change it back to "none"? If so, will force pushing to my branch stop the merge? |
@bors r- |
dd76868
to
c836739
Compare
ub_checks
assert_unsafe_precondition
docs to refer to check_language_ub
@the8472 OK, I've removed the changes away from the tracking issue being "none". |
Yeah my understanding of the compiler processes is that an MCP is not enough to stabilize those flags and it would require an RFC. So the corresponding libs feature also currently is not on a path to stabilitzation and will remain internal-only so it doesn't require a tracking issue. |
OK, now the pull request only changes @rustbot ready |
@bors r=workingjubilee,the8472 |
…n_check_language_ub, r=workingjubilee,the8472 Change `assert_unsafe_precondition` docs to refer to `check_language_ub`
…iaskrgr Rollup of 8 pull requests Successful merges: - rust-lang#128432 (WASI: forbid `unsafe_op_in_unsafe_fn` for `std::{os, sys}`) - rust-lang#129373 (Add missing module flags for CFI and KCFI sanitizers) - rust-lang#129374 (Use `assert_unsafe_precondition!` in `AsciiChar::digit_unchecked`) - rust-lang#129376 (Change `assert_unsafe_precondition` docs to refer to `check_language_ub`) - rust-lang#129382 (Add `const_cell_into_inner` to `OnceCell`) - rust-lang#129387 (Advise against removing the remaining Python scripts from `tests/run-make`) - rust-lang#129388 (Do not rely on names to find lifetimes.) - rust-lang#129395 (Pretty-print own args of existential projections (dyn-Trait w/ GAT constraints)) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#129376 - ChaiTRex:assert_unsafe_precondition_check_language_ub, r=workingjubilee,the8472 Change `assert_unsafe_precondition` docs to refer to `check_language_ub`
Unstable feature
ub_checks
tracking issue #123499.