Commit d44d47b
authored
ci: disable cache-bin to fix flaky macOS builds (#411)
Swatinem/rust-cache with cache-bin: true (the default) caches
~/.cargo/bin, which contains rustup proxy binaries. On macOS, rustup
uses RUSTUP_PERMIT_COPY_RENAME=1, so these proxies are copies of the
rustup binary. When the cache restores stale copies, they can resolve
to rustup-init instead of the proper cargo proxy, causing:
error: unexpected argument 'test' found
Usage: rustup-init[EXE] [OPTIONS]
Setting cache-bin: false prevents caching the bin directory, letting
rustup manage its own proxy binaries correctly.1 parent 6f0fd96 commit d44d47b
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
0 commit comments