We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7c387ed + 538f4fa commit a995319Copy full SHA for a995319
crates/rust-analyzer/tests/slow-tests/testdir.rs
@@ -43,10 +43,15 @@ impl TestDir {
43
}
44
fs::create_dir_all(&path).unwrap();
45
46
- #[cfg(any(target_os = "macos", target_os = "linux", target_os = "windows"))]
+ #[cfg(any(
47
+ target_os = "macos",
48
+ target_os = "linux",
49
+ target_os = "windows",
50
+ target_os = "freebsd"
51
+ ))]
52
if symlink {
53
let symlink_path = base.join(format!("{pid}_{cnt}_symlink"));
- #[cfg(any(target_os = "macos", target_os = "linux"))]
54
+ #[cfg(any(target_os = "macos", target_os = "linux", target_os = "freebsd"))]
55
std::os::unix::fs::symlink(path, &symlink_path).unwrap();
56
57
#[cfg(target_os = "windows")]
0 commit comments