Skip to content

Commit 98cb12a

Browse files
committed
Remove wasm2js example
1 parent 237b325 commit 98cb12a

File tree

12 files changed

+3
-118
lines changed

12 files changed

+3
-118
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,10 +344,6 @@ jobs:
344344
- run: rustup update --no-self-update stable && rustup default stable
345345
- run: rustup target add wasm32-unknown-unknown
346346
- run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh -s -- -f
347-
- run: |
348-
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
349-
tar -xz -f binaryen-version_112-x86_64-linux.tar.gz binaryen-version_112/bin/wasm2js
350-
echo "$PWD/binaryen-version_112/bin" >> $GITHUB_PATH
351347
- run: |
352348
cargo build -p wasm-bindgen-cli
353349
ln -snf `pwd`/target/debug/wasm-bindgen $(dirname `which cargo`)/wasm-bindgen

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ members = [
106106
"examples/wasm-in-wasm",
107107
"examples/wasm-in-wasm-imports",
108108
"examples/wasm-in-web-worker",
109-
"examples/wasm2js",
110109
"examples/weather_report",
111110
"examples/webaudio",
112111
"examples/webgl",

crates/example-tests/tests/shell.rs

Lines changed: 0 additions & 2 deletions
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

Lines changed: 0 additions & 12 deletions
This file was deleted.

examples/wasm2js/README.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

examples/wasm2js/build.sh

Lines changed: 0 additions & 13 deletions
This file was deleted.

examples/wasm2js/index.html

Lines changed: 0 additions & 9 deletions
This file was deleted.

examples/wasm2js/index.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

examples/wasm2js/src/lib.rs

Lines changed: 0 additions & 13 deletions
This file was deleted.

guide/src/SUMMARY.md

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 38 deletions
This file was deleted.

guide/src/reference/browser-support.md

Lines changed: 3 additions & 4 deletions
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)