Add more comment to libc-fs-with-isolation test

This commit is contained in:
tiif 2025-05-18 13:42:07 +02:00
parent 4858c3fe7d
commit f9a75a00b4

View file

@ -11,6 +11,10 @@ fn main() {
assert!(libc::fcntl(1, libc::F_DUPFD, 0) >= 0);
}
// Although `readlink` and `stat` require disable-isolation mode
// to properly run, they are tested with isolation mode on to check the error emitted
// with `-Zmiri-isolation-error=warn-nobacktrace`.
// test `readlink`
let mut buf = vec![0; "foo_link.txt".len() + 1];
unsafe {