File tree 1 file changed +2
-2
lines changed
library/std/src/sys/pal/unix
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1753,8 +1753,8 @@ pub fn link(original: &Path, link: &Path) -> io::Result<()> {
1753
1753
// Android has `linkat` on newer versions, but we happen to know `link`
1754
1754
// always has the correct behavior, so it's here as well.
1755
1755
cvt( unsafe { libc:: link( original. as_ptr( ) , link. as_ptr( ) ) } ) ?;
1756
- } else if #[ cfg( any( target_os = "macos" , target_os = "solaris" ) ) ] {
1757
- // MacOS (<=10.9) and Solaris 10 lack support for linkat while newer
1756
+ } else if #[ cfg( any( target_os = "macos" ) ) ] {
1757
+ // MacOS (<=10.9) lacks support for linkat while newer
1758
1758
// versions have it. We want to use linkat if it is available, so we use weak!
1759
1759
// to check. `linkat` is preferable to `link` because it gives us a flag to
1760
1760
// specify how symlinks should be handled. We pass 0 as the flags argument,
You can’t perform that action at this time.
0 commit comments