Skip to content

Commit 1b2d881

Browse files
committed
Disable the ambient version of symlink_hard_link on macOS and FreeBSD.
1 parent 5e87cd2 commit 1b2d881

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/fs_additional.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ fn dir_searchable_unreadable() {
407407
/// ambient API instead of `cap_std`. The purpose of this test is to
408408
/// confirm fundamentally OS-specific behaviors.
409409
#[test]
410+
#[cfg_attr(any(target_os = "macos", target_os = "freebsd"), ignore)] // submitted to upstream as https://github.com/rust-lang/rust/pull/78026
410411
fn symlink_hard_link_ambient() {
411412
#[cfg(unix)]
412413
use std::os::unix::fs::symlink;

0 commit comments

Comments
 (0)