Skip to content

Commit 5cd2f78

Browse files
committed
Remove wasm2js example
1 parent 25c7c72 commit 5cd2f78

File tree

12 files changed

+3
-118
lines changed

12 files changed

+3
-118
lines changed

.github/workflows/main.yml

-4
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,6 @@ jobs:
314314
- run: rustup update --no-self-update stable && rustup default stable
315315
- run: rustup target add wasm32-unknown-unknown
316316
- run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh -s -- -f
317-
- run: |
318-
curl -L https://github.com./WebAssembly/binaryen/releases/download/version_112/binaryen-version_112-x86_64-linux.tar.gz -sSf > binaryen-version_112-x86_64-linux.tar.gz
319-
tar -xz -f binaryen-version_112-x86_64-linux.tar.gz binaryen-version_112/bin/wasm2js
320-
echo "$PWD/binaryen-version_112/bin" >> $GITHUB_PATH
321317
- run: |
322318
cargo build -p wasm-bindgen-cli
323319
ln -snf `pwd`/target/debug/wasm-bindgen $(dirname `which cargo`)/wasm-bindgen

Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ members = [
9696
"examples/wasm-in-wasm",
9797
"examples/wasm-in-wasm-imports",
9898
"examples/wasm-in-web-worker",
99-
"examples/wasm2js",
10099
"examples/weather_report",
101100
"examples/webaudio",
102101
"examples/webgl",

crates/example-tests/tests/shell.rs

-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ shell_tests! {
3939
raytrace_parallel = "raytrace-parallel",
4040
#[cfg(feature = "stable")]
4141
synchronous_instantiation = "synchronous-instantiation",
42-
#[cfg(feature = "stable")]
43-
wasm2js = "wasm2js",
4442
#[cfg(feature = "nightly")]
4543
#["RUSTUP_TOOLCHAIN" = "nightly"]
4644
wasm_audio_worklet = "wasm-audio-worklet",

examples/wasm2js/Cargo.toml

-12
This file was deleted.

examples/wasm2js/README.md

-17
This file was deleted.

examples/wasm2js/build.sh

-13
This file was deleted.

examples/wasm2js/index.html

-9
This file was deleted.

examples/wasm2js/index.js

-4
This file was deleted.

examples/wasm2js/src/lib.rs

-13
This file was deleted.

guide/src/SUMMARY.md

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
- [Small Wasm files](./examples/add.md)
1111
- [Without a Bundler](./examples/without-a-bundler.md)
1212
- [Synchronous Instantiation](./examples/synchronous-instantiation.md)
13-
- [Converting WebAssembly to JS](./examples/wasm2js.md)
1413
- [Importing functions from JS](./examples/import-js.md)
1514
- [Working with `char`](./examples/char.md)
1615
- [js-sys: WebAssembly in WebAssembly](./examples/wasm-in-wasm.md)

guide/src/examples/wasm2js.md

-38
This file was deleted.

guide/src/reference/browser-support.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ also like to be aware of it!
1515

1616
* **IE 11** - `wasm-bindgen` by default requires support for
1717
`WebAssembly`, but no version of IE currently supports `WebAssembly`. You can
18-
support IE by [compiling Wasm files to JS using `wasm2js`][w2js] (you can [see
19-
an example of doing this too](../examples/wasm2js.html)). Note
20-
that at this time no bundler will do this by default, but we'd love to
21-
document plugins which do this if you are aware of one!
18+
support IE by [compiling Wasm files to JS using `wasm2js`][w2js]. Note that
19+
at this time no bundler will do this by default, but we'd love to document
20+
plugins which do this if you are aware of one!
2221

2322
If you find other incompatibilities please report them to us! We'd love to
2423
either keep this list up-to-date or fix the underlying bugs :)

0 commit comments

Comments
 (0)