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 (897e37553 2022-11-02)
cargo --version
cargo 1.65.0 (4bc8f24d3 2022-10-20)
When I add
split-debuginfo = "unpacked"to myprofile.releasein Cargo.toml (on Linux), my build fails with:In debug I initially had the same problem but a
cargo cleanfixed it without requiring me to turn offsplit-debuginfo. However, release continues to be failing even aftercargo clean.Meta
rustc --version
rustc 1.65.0 (897e37553 2022-11-02)
cargo --version
cargo 1.65.0 (4bc8f24d3 2022-10-20)