We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 64d7e0d + 8ade047 commit 9cf18e9Copy full SHA for 9cf18e9
library/std/src/fs/tests.rs
@@ -74,7 +74,7 @@ macro_rules! error_contains {
74
// tests most of the time, but at least we do if the user has the right
75
// permissions.
76
pub fn got_symlink_permission(tmpdir: &TempDir) -> bool {
77
- if cfg!(unix) {
+ if cfg!(not(windows)) || env::var_os("CI").is_some() {
78
return true;
79
}
80
let link = tmpdir.join("some_hopefully_unique_link_name");
0 commit comments