Fix compile-fail error message

This commit is contained in:
Aaron Hill 2019-04-09 10:19:29 -04:00
parent 22044c878d
commit ae8e7f654a
No known key found for this signature in database
GPG key ID: B4087E510E98B164

View file

@ -8,6 +8,6 @@ fn main() {
let mut buf = [0u8; 5];
unsafe {
libc::syscall(libc::SYS_getrandom, buf.as_mut_ptr() as *mut libc::c_void, 5 as libc::size_t, 0 as libc::c_uint);
//~^ ERROR constant evaluation error: miri does not support random number generators in deterministic mode!
//~^ ERROR constant evaluation error: miri does not support gathering system entropy in deterministic mode!
}
}