This commit is contained in:
Jarred Sumner
2023-01-29 16:29:26 -08:00
parent ac64d87a1c
commit 44eec0c5bb
2 changed files with 6 additions and 3 deletions

View File

@@ -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 buns binary and injected if imported.

View File

@@ -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.
/** **/