Skip to content

Commit

Permalink
Auto merge of rust-lang#105613 - Nilstrieb:rename-assert_uninit_valid…
Browse files Browse the repository at this point in the history
…, r=RalfJung

Rename `assert_uninit_valid` intrinsic

It's not about "uninit" anymore but about "filling with 0x01 bytes" so the name should at least try to reflect that.

This is actually not fully correct though, as it does still panic for all uninit with `-Zstrict-init-checks`. I'm not sure what the best way is to deal with that not causing confusion. I guess we could just remove the flag? I don't think having it makes a lot of sense anymore with the direction that we have chose to go. It could be relevant again if rust-lang#100423 lands so removing it may be a bit over eager.

r? `@RalfJung`
  • Loading branch information
bors committed Dec 21, 2022
2 parents d58b756 + ba4fdc9 commit 1a53d60
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 1a53d60

Please sign in to comment.