You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For context, we use cargo-chef for building Rust packages in Brioche (see rust/package.bri). After we upgraded from cargo-chef v0.1.68 to v0.1.70, our build of the package xplr started failing. I was able to reproduce it locally by checking out xplr@a82ea6a and using cargo-chef like this:
cargo chef prepare --recipe-path recipe.json
cargo chef cook --recipe-path recipe.json --no-build
I narrowed it down to a regression introduced in 0.1.69. Between 0.1.68 and 0.1.69, cargo-chef started introducing a duplicate [[examples]] target within Cargo.toml. Here's a diff between the Cargo.toml produced by cargo-chef between 0.1.68 and 0.1.69:
This duplicate section causes Cargo commands to fail with the following error:
error: failed to parse manifest at `/path/to/xplr/Cargo.toml`
Caused by:
found duplicate bench name criterion, but all bench targets must have a unique name
The text was updated successfully, but these errors were encountered:
For context, we use cargo-chef for building Rust packages in Brioche (see
rust/package.bri
). After we upgraded from cargo-chef v0.1.68 to v0.1.70, our build of the package xplr started failing. I was able to reproduce it locally by checking out xplr@a82ea6a and using cargo-chef like this:I narrowed it down to a regression introduced in 0.1.69. Between 0.1.68 and 0.1.69, cargo-chef started introducing a duplicate
[[examples]]
target withinCargo.toml
. Here's a diff between theCargo.toml
produced by cargo-chef between 0.1.68 and 0.1.69:This duplicate section causes Cargo commands to fail with the following error:
The text was updated successfully, but these errors were encountered: