You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
The target we compile wasm runtime to, wasm32-unknown-unknown, actually has builtin std support. Adding support for std would help to solve many of our current user complaints.
Some details of the std support on the wasm target:
Filesystem is implemented as shim that cannot be constructed.
Single thread is assumed, which is used to implement constructs like Mutex and RwLock.
You can find more about the std implementation at this folder.
I think the only issue we need to deal with is the allocator. Currently the std library assumes dlmalloc, but it should be possible to switch it to our external allocator.