about summary refs log tree commit diff
path: root/src/tools/rust-installer
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-05-08 12:04:27 -0700
committerMichael Howell <michael@notriddle.com>2023-05-25 08:14:33 -0700
commit374024336a0dfed4a5cf5e97ccc99648b18cf00c (patch)
treef22079823946f601d3fb1025b5c533cc358c8f46 /src/tools/rust-installer
parent8488e8aed9eb59e45589974985e7cb377576353c (diff)
Improve comments
Diffstat (limited to 'src/tools/rust-installer')
-rwxr-xr-xsrc/tools/rust-installer/combine-installers.sh2
-rwxr-xr-xsrc/tools/rust-installer/gen-installer.sh2
-rwxr-xr-xsrc/tools/rust-installer/make-tarballs.sh2
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 c2de3385a80..01e5a00af4a 100755
--- a/src/tools/rust-installer/combine-installers.sh
+++ b/src/tools/rust-installer/combine-installers.sh
@@ -11,6 +11,8 @@ abs_path() {
     (unset CDPATH && cd "$path" > /dev/null && pwd)
 }
 
+# Running cargo will read the libstd Cargo.toml
+# which uses the unstable `public-dependency` feature.
 export RUSTC_BOOTSTRAP=1
 
 src_dir="$(abs_path $(dirname "$0"))"
diff --git a/src/tools/rust-installer/gen-installer.sh b/src/tools/rust-installer/gen-installer.sh
index 10a69ff5ac5..cc45b5e0803 100755
--- a/src/tools/rust-installer/gen-installer.sh
+++ b/src/tools/rust-installer/gen-installer.sh
@@ -11,6 +11,8 @@ abs_path() {
     (unset CDPATH && cd "$path" > /dev/null && pwd)
 }
 
+# Running cargo will read the libstd Cargo.toml
+# which uses the unstable `public-dependency` feature.
 export RUSTC_BOOTSTRAP=1
 
 src_dir="$(abs_path $(dirname "$0"))"
diff --git a/src/tools/rust-installer/make-tarballs.sh b/src/tools/rust-installer/make-tarballs.sh
index 4aadf078ff1..374e103e89c 100755
--- a/src/tools/rust-installer/make-tarballs.sh
+++ b/src/tools/rust-installer/make-tarballs.sh
@@ -11,6 +11,8 @@ abs_path() {
     (unset CDPATH && cd "$path" > /dev/null && pwd)
 }
 
+# Running cargo will read the libstd Cargo.toml
+# which uses the unstable `public-dependency` feature.
 export RUSTC_BOOTSTRAP=1
 
 src_dir="$(abs_path $(dirname "$0"))"