Skip to content

Commit 308f79b

Browse files
joboetRalfJung
andcommitted
miri: explain why readdir_r is only tested on macOS
Co-authored-by: Ralf Jung <post@ralfj.de>
1 parent 8eca20a commit 308f79b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/tools/miri/tests/pass-dep/libc/libc-fs.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,8 @@ fn test_readdir() {
877877
remove_dir(&dir_path).unwrap();
878878
}
879879

880+
// We only support `readdir_r` on macOS.
881+
// (It is deprecated so we don't want to add more support.)
880882
#[cfg(target_os = "macos")]
881883
fn test_readdir_r() {
882884
use std::fs::{create_dir, remove_dir, write};

0 commit comments

Comments
 (0)