rust/library
Dan Gohman 91a9f83dd1 Define fs::hard_link to not follow symlinks.
POSIX leaves it implementation-defined whether `link` follows symlinks.
In practice, for example, on Linux it does not and on FreeBSD it does.
So, switch to `linkat`, so that we can pick a behavior rather than
depending on OS defaults.

Pick the option to not follow symlinks. This is somewhat arbitrary, but
seems the less surprising choice because hard linking is a very
low-level feature which requires the source and destination to be on
the same mounted filesystem, and following a symbolic link could end
up in a different mounted filesystem.
2020-10-16 12:05:49 -07:00
..
alloc Auto merge of #77850 - kornelski:resizedefault, r=dtolnay 2020-10-16 12:11:32 +00:00
backtrace@893fbb2368 Bump backtrace-rs 2020-10-11 13:52:20 -04:00
core Rollup merge of #77980 - Manishearth:needs-drop-intra, r=jyn514 2020-10-16 02:10:25 +02:00
panic_abort Rollup merge of #76866 - est31:master, r=lcnr 2020-09-20 15:51:50 +02:00
panic_unwind library/{panic_,}unwind: Add definitions for sparc-unknow-linux-gnu 2020-09-28 00:39:57 +02:00
proc_macro Bump to 1.48 bootstrap compiler 2020-10-07 19:51:36 -04:00
profiler_builtins
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std Define fs::hard_link to not follow symlinks. 2020-10-16 12:05:49 -07:00
stdarch@3c3664355e Update stdarch submodule 2020-10-01 13:06:22 -04:00
term
test Replace absolute paths with relative ones 2020-10-13 14:16:45 +02:00
unwind Remove useless all in cfg 2020-10-09 13:24:05 +02:00