Skip to content

Commit 78a80af

Browse files
committed
web: Cleanup vanilla WASM module creation files
1 parent 9f3d0a9 commit 78a80af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

web/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN wget --progress=:giga https://github.com/WebAssembly/binaryen/releases/downl
1111
mv wasm-opt /usr/local/bin
1212

1313
# Installing Rust using rustup:
14-
RUN wget 'https://sh.rustup.rs' --quiet -O- | sh -s -- -y --profile minimal --target wasm32-unknown-unknown && rustup component add rust-src
14+
RUN wget 'https://sh.rustup.rs' --quiet -O- | sh -s -- -y --profile minimal --target wasm32-unknown-unknown --component rust-src
1515
ENV PATH="/root/.cargo/bin:$PATH"
1616
# wasm-bindgen-cli version must match wasm-bindgen crate version.
1717
# Be sure to update in test_web.yml, release_nightly.yml, Cargo.toml, and web/README.md as well.

web/packages/core/tools/build_wasm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function cargoBuild({
8080
execFileSync("cargo", args, {
8181
env: Object.assign(Object.assign({}, process.env), {
8282
RUSTFLAGS: totalRustFlags,
83-
RUSTC_BOOTSTRAP: extensions ? '0' : '1',
83+
RUSTC_BOOTSTRAP: extensions ? "0" : "1",
8484
}),
8585
stdio: "inherit",
8686
});

0 commit comments

Comments
 (0)