We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecf2d1f commit a87f5caCopy full SHA for a87f5ca
library/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) })?;
library/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