diff options
| author | Michael Howell <michael@notriddle.com> | 2023-05-01 14:02:33 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-05-25 08:14:33 -0700 |
| commit | 8488e8aed9eb59e45589974985e7cb377576353c (patch) | |
| tree | 3ef9e42a184aa8c85363ef39878770b4e4d46180 | |
| parent | ffef807889c6f759fef3d229b59c3bd9b6e40fd6 (diff) | |
| download | rust-8488e8aed9eb59e45589974985e7cb377576353c.tar.gz rust-8488e8aed9eb59e45589974985e7cb377576353c.zip | |
rust-installer: include `RUSTC_BOOTSTRAP` when generating installer
| -rwxr-xr-x | src/tools/rust-installer/combine-installers.sh | 2 | ||||
| -rwxr-xr-x | src/tools/rust-installer/gen-installer.sh | 2 | ||||
| -rwxr-xr-x | src/tools/rust-installer/make-tarballs.sh | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/src/tools/rust-installer/combine-installers.sh b/src/tools/rust-installer/combine-installers.sh index bee5319fd55..c2de3385a80 100755 --- a/src/tools/rust-installer/combine-installers.sh +++ b/src/tools/rust-installer/combine-installers.sh @@ -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 "$@" diff --git a/src/tools/rust-installer/gen-installer.sh b/src/tools/rust-installer/gen-installer.sh index eabd8c95cd8..10a69ff5ac5 100755 --- a/src/tools/rust-installer/gen-installer.sh +++ b/src/tools/rust-installer/gen-installer.sh @@ -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 "$@" diff --git a/src/tools/rust-installer/make-tarballs.sh b/src/tools/rust-installer/make-tarballs.sh index e342007da37..4aadf078ff1 100755 --- a/src/tools/rust-installer/make-tarballs.sh +++ b/src/tools/rust-installer/make-tarballs.sh @@ -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 "$@" |
