From eddda4caa7f70d2a46692f809e00ddcd13cbf245 Mon Sep 17 00:00:00 2001 From: Eduard Voiculescu Date: Tue, 4 Jun 2024 21:23:40 -0400 Subject: [PATCH] add wasm32-unknown-unknown to the dockerfile and remove if from the command when running the remote build server commands --- Dockerfile.remotebuild | 1 + remotebuild/main.go | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.remotebuild b/Dockerfile.remotebuild index 7886e4bf..b79d8d29 100644 --- a/Dockerfile.remotebuild +++ b/Dockerfile.remotebuild @@ -13,6 +13,7 @@ COPY --from=rust-builder /usr/local/rustup /usr/local/rustup/ # Install needed rustup components RUN rustup component add rustfmt && cargo install rustfmt || true RUN rustup default stable +RUN rustup target add wasm32-unknown-unknown # Install build essentials and curl RUN apk update && apk add curl build-base sccache diff --git a/remotebuild/main.go b/remotebuild/main.go index d1012534..06abe266 100644 --- a/remotebuild/main.go +++ b/remotebuild/main.go @@ -101,7 +101,6 @@ func (s *Server) Build( // Check to add this in the docker file and make it work as expected content := dedent.Dedent(` - rustup target add wasm32-unknown-unknown make package `)