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
803: add `CROSS_CUSTOM_TOOLCHAIN` to disable automatic target component downloading r=Alexhuszagh a=Emilgardis
This adds an environment variable `CROSS_CUSTOM_TOOLCHAIN` to disable some rustup commands.
The way to use this with `cargo-bisect-rustc` is `cargo bisect-rustc --script=./bisect.sh --target powerpc64le-unknown-linux-gnu` and the script is
```sh
#!/usr/bin/env bash
export CROSS_CUSTOM_TOOLCHAIN=1
exec cross run --target powerpc64le-unknown-linux-gnu
```
I've filed rust-lang/cargo-bisect-rustc#159 to avoid the pitfall that was discovered when not specifying `--target`
resolves#699
Co-authored-by: Emil Gardström <[email protected]>
0 commit comments