Skip to content

Commit 4c16a67

Browse files
committed
web: Address review comments
1 parent f9d3863 commit 4c16a67

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

web/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ In this project, you may run the following commands to build all packages:
106106
- There is `npm run build:dual-wasm` as well, to build a second WebAssembly module that disables all supported WebAssembly extensions,
107107
potentially resulting in support for more browsers, at the expense of longer build time.
108108
- `npm run build:repro` enables reproducible builds. Note that this also requires a `version_seal.json`, which is not provided in the normal Git repository - only specially-marked reproducible source archives. Running this without a version seal will generate one based on the current state of your environment.
109-
- Since we use `RUSTC_BOOTSTRAP` in order to use certain Nightly flags with stable Rust when building dual-wasm, you will also need to run `rustup component add rust-src` with either of the previous two commands.
109+
- You will also need to run `rustup component add rust-src` with either of the previous two commands since we rebuild std for the vanilla WASM module.
110110

111111
From here, you may follow the instructions to [use Ruffle on your website](packages/selfhosted/README.md),
112112
run a demo locally with `npm run demo`, or [install the extension in your browser](https://github.com/ruffle-rs/ruffle/wiki/Using-Ruffle#browser-extension).

web/packages/core/tools/build_wasm.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ function detectWasmOpt() {
155155
return false;
156156
}
157157
}
158-
const buildWasmMVP = !!process.env["BUILD_WASM_MVP"];
158+
const buildWasmMvp = !!process.env["BUILD_WASM_MVP"];
159159
const wasmSource = process.env["WASM_SOURCE"] || "cargo";
160160
const hasWasmOpt = detectWasmOpt();
161161
if (!hasWasmOpt) {
@@ -174,7 +174,7 @@ buildWasm(
174174
true,
175175
wasmSource,
176176
);
177-
if (buildWasmMVP) {
177+
if (buildWasmMvp) {
178178
buildWasm("web-vanilla-wasm", "ruffle_web", hasWasmOpt, false, wasmSource);
179179
} else {
180180
copyStandIn("ruffle_web-wasm_extensions", "ruffle_web");

0 commit comments

Comments
 (0)