Skip to content

Conversation

@sharnoff
Copy link

One way to speed up builds involving large monomorphized dependencies is to separate their usage into a separate crate, which is then cached.

It's helpful if that can be a package in the same workspace, but AFAICT cargo-chef doesn't currently have a mechanism to extend its caching to some workspace members.

So to support that, this PR adds an --ignore-manifest flag to request that cargo-chef doesn't overwrite that Cargo.toml file or clean up the build artifacts from that package.

One way to speed up builds involving large monomorphized dependencies is
to separate their usage into a separate crate, which is then cached.

It's helpful if that can be a package in the same workspace, but AFAICT
cargo-chef doesn't currently have a mechanism to extend its caching to
some workspace members.

So to support that, let's add an `--ignore-manifest` flag to request
that cargo-chef doesn't overwrite that `Cargo.toml` file or clean up the
build artifacts from that package.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant