Fix compile-fail error message
This commit is contained in:
parent
22044c878d
commit
ae8e7f654a
1 changed files with 1 additions and 1 deletions
|
|
@ -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!
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue