From e7a7bad1a99e3f3594d30859bb897ba2b0875b31 Mon Sep 17 00:00:00 2001 From: Gyeongjae Choi Date: Thu, 18 Aug 2022 16:26:31 +0900 Subject: [PATCH] MAINT Prevent `make rust` command from generating a temp file (#2984) --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index febdbbc95..81882409b 100644 --- a/Makefile +++ b/Makefile @@ -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