diff options
author | 2023-02-06 20:35:01 +0100 | |
---|---|---|
committer | 2023-02-06 11:35:01 -0800 | |
commit | 397f559e77335287021b18c84769541a82af3741 (patch) | |
tree | b9c35f6b9c2df6b9fc3d982dbab1d749546078ef | |
parent | ca2e708be11e9481938965ee92acc38c01a7726a (diff) | |
download | bun-397f559e77335287021b18c84769541a82af3741.tar.gz bun-397f559e77335287021b18c84769541a82af3741.tar.zst bun-397f559e77335287021b18c84769541a82af3741.zip |
Fix URL of wasi-js (#1997)
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | src/bun.js/wasi.exports.js | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -435,7 +435,7 @@ bun run ./my-wasm-app.wasm bun ./my-wasm-app.wasm ``` -WASI support is based on [wasi-js](https://github.com/sagemathinc/cowasm/tree/main/packages/wasi-js). Currently, it only supports WASI binaries that use the `wasi_snapshot_preview1` or `wasi_unstable` APIs. Bun's implementation is not optimized for performance, but if this feature gets popular, we'll definitely invest time in making it faster. +WASI support is based on [wasi-js](https://github.com/sagemathinc/cowasm/tree/main/core/wasi-js). Currently, it only supports WASI binaries that use the `wasi_snapshot_preview1` or `wasi_unstable` APIs. Bun's implementation is not optimized for performance, but if this feature gets popular, we'll definitely invest time in making it faster. ## Creating a Discord bot with Bun @@ -5007,7 +5007,7 @@ bun also statically links these libraries: - [`c-ares`](https://github.com/c-ares/c-ares), which is MIT licensed - `libicu` 72, which can be found here: <https://github.com/unicode-org/icu/blob/main/icu4c/LICENSE> - A fork of [`uWebsockets`](https://github.com/jarred-sumner/uwebsockets), which is Apache 2.0 licensed -- WASI implementation from [`wasi-js`](https://github.com/sagemathinc/cowasm/tree/main/packages/wasi-js), which is BSD 3 clause licensed. Note that wasi-js is originally based on [wasmer-js](https://github.com/wasmerio/wasmer-js), which is MIT licensed. wasmer-js was based on [node-wasi](https://github.com/devsnek/node-wasi) by Gus Caplan (also MIT licensed). You can [read more about the history here](https://github.com/sagemathinc/cowasm/tree/main/packages/wasi-js#history). +- WASI implementation from [`wasi-js`](https://github.com/sagemathinc/cowasm/tree/main/core/wasi-js), which is BSD 3 clause licensed. Note that wasi-js is originally based on [wasmer-js](https://github.com/wasmerio/wasmer-js), which is MIT licensed. wasmer-js was based on [node-wasi](https://github.com/devsnek/node-wasi) by Gus Caplan (also MIT licensed). You can [read more about the history here](https://github.com/sagemathinc/cowasm/tree/main/core/wasi-js#history). For compatibility reasons, these NPM packages are embedded into bun’s binary and injected if imported. diff --git a/src/bun.js/wasi.exports.js b/src/bun.js/wasi.exports.js index 4d5ac5e1c..a01d88d6b 100644 --- a/src/bun.js/wasi.exports.js +++ b/src/bun.js/wasi.exports.js @@ -1,5 +1,5 @@ // HUGE thanks to: -// - @williamstein and https://github.com/sagemathinc/cowasm/tree/main/packages/wasi-js +// - @williamstein and https://github.com/sagemathinc/cowasm/tree/main/core/wasi-js // - @syrusakbary for wasmer-js https://github.com/wasmerio/wasmer-js // - Gus Caplan for node-wasi https://github.com/devsnek/node-wasi // |