-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)C-bugCategory: This is a bug.Category: This is a bug.
Description
When I add split-debuginfo = "unpacked"
to my profile.release
in Cargo.toml (on Linux), my build fails with:
error: failed to build archive: No such file or directory
error: could not compile `cfg-if` due to previous error
warning: build failed, waiting for other jobs to finish...
In debug I initially had the same problem but a cargo clean
fixed it without requiring me to turn off split-debuginfo
. However, release continues to be failing even after cargo clean
.
Meta
rustc --version
rustc 1.65.0 (897e375 2022-11-02)
cargo --version
cargo 1.65.0 (4bc8f24d3 2022-10-20)
punkeel, ItsEthra, Guilucand, jonasbb and phoekz
Metadata
Metadata
Assignees
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)C-bugCategory: This is a bug.Category: This is a bug.