about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-02-15 18:23:11 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-06-13 16:39:59 +0000
commitd0b8896189f5b2fb472d54ed389681dff97d907b (patch)
treeefbd6821a4720b63da1d0a23d2f2c6278e2f2a90 /scripts
parentce3f300e40146480d3f508e9657c454bf6881b10 (diff)
downloadrust-d0b8896189f5b2fb472d54ed389681dff97d907b.tar.gz
rust-d0b8896189f5b2fb472d54ed389681dff97d907b.zip
Allow building the build system using cargo
Rust's build system only handles cargo, not rustc.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/rustup.sh2
-rw-r--r--scripts/setup_rust_fork.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/rustup.sh b/scripts/rustup.sh
index 3cbeb6375de..6b446aafb7b 100755
--- a/scripts/rustup.sh
+++ b/scripts/rustup.sh
@@ -32,7 +32,7 @@ case $1 in
 
         ./clean_all.sh
 
-        ./y.rs prepare
+        ./y.sh prepare
 
         (cd download/sysroot && cargo update && cargo fetch && cp Cargo.lock ../../build_sysroot/)
         ;;
diff --git a/scripts/setup_rust_fork.sh b/scripts/setup_rust_fork.sh
index abb09775d21..15b16b42be5 100644
--- a/scripts/setup_rust_fork.sh
+++ b/scripts/setup_rust_fork.sh
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 set -e
 
-./y.rs build --no-unstable-features
+./y.sh build --no-unstable-features
 
 echo "[SETUP] Rust fork"
 git clone https://github.com/rust-lang/rust.git || true