Skip to content

Commit 42568f1

Browse files
committed
web: Address review comments
1 parent f9d3863 commit 42568f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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: 1 addition & 1 deletion
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) {

0 commit comments

Comments
 (0)