We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1300e46 commit 6c94020Copy full SHA for 6c94020
src/tools/miri/tests/pass-dep/libc/libc-fs-symlink.rs
@@ -48,7 +48,11 @@ fn test_readlink() {
48
49
// Test that we report a proper error for a missing path.
50
let res = unsafe {
51
- libc::readlink(c"MIRI_MISSING_FILE_NAME".as_ptr(), small_buf.as_mut_ptr().cast(), small_buf.len())
+ libc::readlink(
52
+ c"MIRI_MISSING_FILE_NAME".as_ptr(),
53
+ small_buf.as_mut_ptr().cast(),
54
+ small_buf.len(),
55
+ )
56
};
57
assert_eq!(res, -1);
58
assert_eq!(Error::last_os_error().kind(), ErrorKind::NotFound);
0 commit comments