JairusSW opened PR #5949 from main
to main
:
As of AssemblyScript
v0.20.x
,import "wasi";
is no longer supported, but WASI functionality is moved to the@assemblyscript/wasi-shim
plugin. The changes update the required dependencies, scripts, updated code, and a README.This Pull Request also adds a AssemblyScript WASI Demo which showcases some features from WASI such as stdin, stdout, system time, and random numbers. It also includes a README and uses the dependency
as-rainbow
to add some color effects.Here is an example of the AssemblyScript WASI Demo output.

bachp submitted PR review.
JairusSW requested wasmtime-default-reviewers for a review on PR #5949.
JairusSW updated PR #5949.
JairusSW requested cfallin for a review on PR #5949.
cfallin requested itsrainy for a review on PR #5949.
cfallin requested wasmtime-default-reviewers for a review on PR #5949.
itsrainy submitted PR review:
Thanks! I ran through the demos and everything looks good to me!
itsrainy merged PR #5949.
Last updated: Feb 28 2025 at 01:30 UTC