diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index cd615d35..244763d1 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -198,7 +198,11 @@ jobs: fi fi rustup -V - + + # macOS runners ship rustup without creating ~/.cargo, so the redirect + # below would fail with "No such file or directory". Create it first. + mkdir -p ~/.cargo + # some additional configuration for cross-compilation on linux cat >>~/.cargo/config.toml <