-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Open
Labels
A-linkageArea: linking into static, shared libraries and binariesArea: linking into static, shared libraries and binariesC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.I-compiletimeIssue: Problems and improvements with respect to compile times.Issue: Problems and improvements with respect to compile times.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
Incremental builds with LTO (thin
or fat
) always take the same amount of time (~10s on my project) when dependencies are unchanged. It seems to take as long when adding a dependency.
Is it not possible to cache (at least part) of the LTO computations?
Note I'm using cross
:
# cross version
cargo 1.44.0-nightly (8751eb301 2020-04-21)
Note also this bug I've encountered WRT LTO: cross-rs/cross#416
#71248 is the most recent issue I could find that seems related.
Metadata
Metadata
Assignees
Labels
A-linkageArea: linking into static, shared libraries and binariesArea: linking into static, shared libraries and binariesC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.I-compiletimeIssue: Problems and improvements with respect to compile times.Issue: Problems and improvements with respect to compile times.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.