-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <emil.gardstrom@gmail.com>
- Loading branch information
Showing
3 changed files
with
39 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters