Even if copying stuff out is fast, disk space isn't free. It's common for a build of a large project to be many gigabytes.
Copying stuff out is fast, but it could be even faster by not doing it. :stuck_out_tongue_winking_eye: I find this aspect far less convincing than the first.
Cargo seems to copy the targets of symlinks around rather than the symlink itself. I'm not sure if it also looks through to the target for comparing timestamps. So we'll need to pay extra-close attention to this if we go down this path. I did at least confirm that this approach kinda-works, but decided to go the simpler path first and worry about this later.
Motivation:
Cargo seems to copy the targets of symlinks around rather than the symlink itself. I'm not sure if it also looks through to the target for comparing timestamps. So we'll need to pay extra-close attention to this if we go down this path. I did at least confirm that this approach kinda-works, but decided to go the simpler path first and worry about this later.