Open khoguan opened 4 years ago
Thanks for the report again! I believe the bug here is likely around here where we're calling link_or_copy
on what we expect to be a file, but in this case for dSYM
it's a directory. We can't fall back to copying a directory!
I have tried my first cargo project on a virtual disk of Google Drive File Stream (Version: 39.0.10.0) on top of Macbook Pro's Apple File System(APFS). But it fails to
cargo build
. If I create my cargo project directly on APFS, this error will not appear.The relevant item of
mount
is:The output of
rustc -vV
is:Here is the output of
CARGO_LOG=cargo::util::paths=trace cargo build
:Originally posted by @khoguan in https://github.com/rust-lang/cargo/issues/4671#issuecomment-647252121