Skip to content

cargoExtraArgs prevents sharing of cargoArtifacts? #498

Answered by dpc
mightyiam asked this question in Q&A
Discussion options

You must be logged in to vote

This is a standard cargo behavior and tomes have been written about this problem. You'll see the same issue in a local shell when doing cargo build -p <local-crate> vs just cargo build, causing rebuilds etc.

Check through #341 and google around. I don't think there's anything for crane to do here. Would be great if cargo supported some flags that say "always use the whole workspace dependency set".

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mightyiam
Comment options

@ipetkov
Comment options

Answer selected by mightyiam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants