rust-installer: include RUSTC_BOOTSTRAP when generating installer

This commit is contained in:
Michael Howell 2023-05-01 14:02:33 -07:00
parent ffef807889
commit 8488e8aed9
3 changed files with 6 additions and 0 deletions

View File

@ -11,5 +11,7 @@ abs_path() {
(unset CDPATH && cd "$path" > /dev/null && pwd)
}
export RUSTC_BOOTSTRAP=1
src_dir="$(abs_path $(dirname "$0"))"
$CARGO run --manifest-path="$src_dir/Cargo.toml" -- combine "$@"

View File

@ -11,5 +11,7 @@ abs_path() {
(unset CDPATH && cd "$path" > /dev/null && pwd)
}
export RUSTC_BOOTSTRAP=1
src_dir="$(abs_path $(dirname "$0"))"
$CARGO run --manifest-path="$src_dir/Cargo.toml" -- generate "$@"

View File

@ -11,5 +11,7 @@ abs_path() {
(unset CDPATH && cd "$path" > /dev/null && pwd)
}
export RUSTC_BOOTSTRAP=1
src_dir="$(abs_path $(dirname "$0"))"
$CARGO run --manifest-path="$src_dir/Cargo.toml" -- tarball "$@"