Skip to content

Commit 6b2bf71

Browse files
committed
What? Who wrote the latest version of the rustup script? In its get_architecture() function, it's impossible to get to -windows-msvc
error: error: the argument '--default-host <DEFAULT_HOST>' cannot be used multiple times
1 parent 9e73e30 commit 6b2bf71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ else
2727
fi
2828
# Install rust compiler
2929
echo "Installing rust compiler"
30-
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh -s -- -y --default-host "$(clang --print-target-triple)" --default-toolchain 1.85
30+
curl --proto '=https' --tlsv1.2 https://raw.githubusercontent.com/rust-lang/rustup/refs/tags/1.28.2/rustup-init.sh -sSf | sh -s -- -y --default-host "$(clang --print-target-triple)" --default-toolchain 1.85
3131
CARGO_BIN="$HOME/.cargo/bin/cargo" # also works for Windows. On Windows this equals to %USERPROFILE%\.cargo\bin\cargo
3232
$CARGO_BIN install cbindgen
3333
# Setup Poetry

0 commit comments

Comments
 (0)