8000
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.
2 parents 87ea4bb + 4c63749 commit da6c63cCopy full SHA for da6c63c
std/src/sys/pal/unix/fs.rs
@@ -899,7 +899,7 @@ impl DirEntry {
899
target_os = "android",
900
target_os = "hurd"
901
),
902
- not(miri)
+ not(miri) // no dirfd on Miri
903
))]
904
pub fn metadata(&self) -> io::Result<FileAttr> {
905
let fd = cvt(unsafe { dirfd(self.dir.dirp.0) })?;
std/src/sys/sync/thread_parking/mod.rs
@@ -23,6 +23,7 @@ cfg_if::cfg_if! {
23
mod windows7;
24
pub use windows7::Parker;
25
} else if #[cfg(all(target_vendor = "apple", not(miri)))] {
26
+ // Doesn't work in Miri, see <https://github.com/rust-lang/miri/issues/2589>.
27
mod darwin;
28
pub use darwin::Parker;
29
} else if #[cfg(target_os = "xous")] {
0 commit comments