Commit c5a58e5
committed
fix(validity): scope cargo chef prepare to the actual binaries
Without --bin, cargo chef prepare captures a recipe for the entire
workspace (all 12 members), including unrelated scripts/test crates
that pin much newer alloy-* versions (up to 2.0.4, requiring rustc
1.91-1.94). cook then tries to compile that whole graph against
rust:1.85 and fails.
--bin validity --bin clear-stuck-txs makes cargo-chef ignore workspace
members not needed to build those two binaries, matching what the
final cargo build step actually needs.1 parent 8603287 commit c5a58e5
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | | - | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| |||
0 commit comments