MAINT Prevent `make rust` command from generating a temp file (#2984)

This commit is contained in:
Gyeongjae Choi 2022-08-18 16:26:31 +09:00 committed by GitHub
parent 26e45657a7
commit e7a7bad1a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -195,8 +195,7 @@ emsdk/emsdk/.complete:
SETUPTOOLS_RUST_COMMIT=5e8c380429aba1e5df5815dcf921025c599cecec
rust:
wget https://sh.rustup.rs -O /rustup.sh
sh /rustup.sh -y
wget -q -O - https://sh.rustup.rs | sh -s -- -y
source $(HOME)/.cargo/env && rustup toolchain install $(RUST_TOOLCHAIN) && rustup default $(RUST_TOOLCHAIN)
source $(HOME)/.cargo/env && rustup target add wasm32-unknown-emscripten --toolchain $(RUST_TOOLCHAIN)
# Install setuptools-rust with a fix for Wasm targets