Skip to content

Commit 9cc1e3c

Browse files
committed
[web] The web version is more usable than the CLI version.
1 parent 06fb481 commit 9cc1e3c

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

docs/build/web.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
# Building and Running the Web-based TX-2 Simulator
22

3-
## Disclaimer
4-
5-
The web-based simulator is still under development, so you may not get
6-
a result which actually does much even if you follow these
7-
instructions. For the time being the [command-line](cli.md) simulator
8-
is probably more useful.
9-
103
## Introduction
114

125
The web-based simulator runs locally in a browser. It is implemented
@@ -59,7 +52,19 @@ just visit that in your browser if `npm` doesn't open a browser window
5952
for you automatically.
6053

6154

62-
### Problems with wasm-opt
55+
### Build Problems
56+
57+
On my development system there is often incompatibility between the
58+
Rust development tools (as installed by rustup) and various Node.js
59+
tools installed by my operating system's package manager. This is
60+
often because the tool versions installed by operating system's
61+
package manager are quite old.
62+
63+
Usually the solution to these is to uninstall the operating system's
64+
installed version (of, for example, webpack or binaryen) and use
65+
`npm`'s version of the tool.
66+
67+
#### Problems with wasm-opt
6368

6469
Some versions of `wasm-pack` [have a bug in how they locate the
6570
`wasm-opt` binary](https://github.com/rustwasm/wasm-pack/issues/1062);

0 commit comments

Comments
 (0)