We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It seems that miri fails when someone tries to allocate too much memory, instead of returning an error. I'll try to minimize this.
The text was updated successfully, but these errors were encountered:
MWE (playground):
fn main() { let layout = std::alloc::Layout::from_size_align(usize::max_value(), 1).unwrap(); let ptr: *mut u8 = unsafe { std::alloc::alloc(layout) }; assert!(ptr.is_null()); }
fails with:
memory allocation of 18446744073709551615 bytes failed
Sorry, something went wrong.
Looks like a duplicate of #613 ? If yes, please close this.
(Closing for now, we can always reopen.)
No branches or pull requests
It seems that miri fails when someone tries to allocate too much memory, instead of returning an error. I'll try to minimize this.
The text was updated successfully, but these errors were encountered: