Commit 67aea4d
authored
👷 ci: derive the wheel toolchain from rust-toolchain.toml (#689)
The wheel build pins the Rust channel and components in
`CIBW_BEFORE_ALL_LINUX`, and `rust-toolchain.toml` states them again;
the comment above the pin asks whoever edits one to keep the other in
sync. Dependabot owns the toml file and cannot reach the workflow, so
[#686](#686) moved the channel
to 1.98 while the pin stayed at 1.97. Each container then provisioned
1.98 on demand during the parallel ninja build, raced, and the aarch64
musl wheel died with `recovering from a partially installed toolchain`
then `detected conflict: 'bin/cargo-clippy'`. 👷
A step now reads `rust-toolchain.toml` and hands rustup the flags, so
the two cannot disagree and the next toolchain bump needs no workflow
edit. Running the step as GitHub composes it emits
`flags=--default-toolchain 1.97 --component clippy --component
llvm-tools-preview --component rustfmt`.1 parent 89d7361 commit 67aea4d
1 file changed
Lines changed: 17 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
86 | 99 | | |
87 | 100 | | |
88 | 101 | | |
89 | 102 | | |
90 | | - | |
91 | | - | |
92 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
93 | 106 | | |
94 | | - | |
| 107 | + | |
95 | 108 | | |
96 | 109 | | |
97 | 110 | | |
| |||
0 commit comments