X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/7df442470822f520e36f793ed3f941ea6c087e63..2a045cd4d35693a74881fe42faf9c81e10aadf57:/prepare_rust.sh diff --git a/prepare_rust.sh b/prepare_rust.sh index 8e66744..31d85dd 100644 --- a/prepare_rust.sh +++ b/prepare_rust.sh @@ -17,6 +17,7 @@ rm -rf ${CARGO_HOME} ${RUSTUP_HOME} curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain none source "$(pwd)/build/cargo/env" rustup override set 1.70.0 +rustup default 1.70.0 rustup component add rust-src cargo install --locked --version 0.62.0 bindgen-cli rustup component add rustfmt