This commit is contained in:
sijie.sun
2025-01-10 20:56:16 +08:00
parent 7996f487e8
commit 52fc9a6aef
3 changed files with 21 additions and 1 deletions
+8
View File
@@ -5,6 +5,14 @@
# - GUI_TARGET
# - OS
if [[ $$TARGET == "x86_64-win7-windows-msvc" || $TARGET == "i686-win7-windows-msvc" ]]; then
rustup set auto-self-update disable
rustup toolchain install nightly
rustup component add rust-src --toolchain nightly
rustup default nightly
exit 0
fi
# dependencies are only needed on ubuntu as that's the only place where
# we make cross-compilation
if [[ $OS =~ ^ubuntu.*$ ]]; then