mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 19:28:29 +00:00

...since slice sizes can't signed wrap see https://doc.rust-lang.org/std/slice/fn.from_raw_parts.html > The total size len * mem::size_of::<T>() of the slice must be no larger than isize::MAX.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.