7 lines
280 B
Bash
7 lines
280 B
Bash
|
|
#!/usr/bin/env bash
|
||
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||
|
|
export PATH=$PATH:/root/.cargo/bin
|
||
|
|
rustup toolchain install stable
|
||
|
|
rustup target add x86_64-pc-windows-gnu
|
||
|
|
rustup target add aarch64-apple-darwin
|
||
|
|
rustup target add x86_64-unknown-linux-gnu
|