Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Strengthen soundness proof for size_of_val_raw (#1574)
Previously, we needed to rely on the fact that the instance of any valid Rust type with 0 elements has a size (in number of bytes) which is not greater than `isize::MAX`. Providing this as a guarantee turned out to be controversial. [1] This was made possible by rust-lang/rust#126152. [1] rust-lang/unsafe-code-guidelines#465 (comment)
- Loading branch information