-
Notifications
You must be signed in to change notification settings - Fork 623
Open
Description
The documentation states a caveat that sccache does not work for caching final binary Rust crates that invoke the system linker. I assume that it works like this because it is hard/impossible to identify the exact system linker version and ensure that the output will be the same.
However, rustc sometimes uses a self-contained linker (such as rust-lld, which is used by default on x86_64-unknown-linux-gnu starting from 1.90.0), which corresponds to the used rustc version, and should not depend on the environment/system linker. Would it be possible to cache even the final linking invocation in this case?
Metadata
Metadata
Assignees
Labels
No labels