diff --git a/scripts/rustup.sh b/scripts/rustup.sh index 6111c205444..34e3981b538 100755 --- a/scripts/rustup.sh +++ b/scripts/rustup.sh @@ -18,9 +18,9 @@ case $1 in ./clean_all.sh - (cd build_sysroot && cargo update) - ./y.rs prepare + + (cd download/sysroot && cargo update && cargo fetch && cp Cargo.lock ../../build_sysroot/) ;; "commit") git add rust-toolchain build_sysroot/Cargo.lock