diff options
author | 2023-01-29 16:29:26 -0800 | |
---|---|---|
committer | 2023-01-29 16:29:39 -0800 | |
commit | 44eec0c5bb1afbcc16430359e825204a51f7ce2c (patch) | |
tree | 17beeb94003f9b4a48fdd14d40453f5498052022 | |
parent | ac64d87a1c05000f7240df3ec508d7d340651409 (diff) | |
download | bun-44eec0c5bb1afbcc16430359e825204a51f7ce2c.tar.gz bun-44eec0c5bb1afbcc16430359e825204a51f7ce2c.tar.zst bun-44eec0c5bb1afbcc16430359e825204a51f7ce2c.zip |
Fixes #1933
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | src/bun.js/wasi.exports.js | 7 |
2 files changed, 6 insertions, 3 deletions
@@ -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 +- 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). 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 060310a9c..6689003fb 100644 --- a/src/bun.js/wasi.exports.js +++ b/src/bun.js/wasi.exports.js @@ -1,5 +1,8 @@ -// HUGE thanks to @williamstein and https://github.com/sagemathinc/cowasm/tree/main/packages/wasi-js -// This code is mostly a copy of wasi-js +// HUGE thanks to: +// - @williamstein and https://github.com/sagemathinc/cowasm/tree/main/packages/wasi-js +// - @syrusakbary for wasmer-js https://github.com/wasmerio/wasmer-js +// - Gus Caplan for node-wasi https://github.com/devsnek/node-wasi +// // Eventually we will implement this in native code, but this is just a quick hack to get WASI working. /** **/ |