rust-lld corruption with Ctrl+C #128860
Labels
A-incr-comp
Area: Incremental compilation
A-linkage
Area: linking into static, shared libraries and binaries
C-bug
Category: This is a bug.
When interrupting linking with rust-lld.exe it sometimes corrupts the target and the only recovery is
cargo clean
.I'm getting tones of errors like this if I try
cargo build
again after:= note: rust-lld: error: undefined symbol: anon.8ff5a01038e5b419b80b5d238bffa21c.22.llvm.13741956020784447919
rust-lld: error: undefined symbol: xx::xxxx::xxxx::GLOBAL::h22b2a472d7972d2f (.llvm.10192556018238492745)
rust-lld: error: undefined symbol: core::hint::unreachable_unchecked::precondition_check::h644ec5c1a75164f9 (.llvm.10192556018238492745)
This isn't a good UX. Ctrl+C should be robust and not leave things in a bad state.
The text was updated successfully, but these errors were encountered: