Open arcanist123 opened 2 years ago
Ah! Thank you very much for finding this! Yeah, it looks like as-wasi was changed to use that path instead: https://github.com/jedisct1/as-wasi/commit/358cc48953060a83b52413dff82cf6e5dd8e131c
I'll go ahead and update this next time I'm at my programming computer! Happy to accept a PR as well! Thank you! 😄 🙏🏾
if you try to follow the example with the current version that is available, the asc will give you an error ERROR TS6054: File '~lib/as-wasi.ts' not found. the error can be fixed by changing the import { Console, FileSystem, Descriptor } from "as-wasi" to import { Console, FileSystem, Descriptor } from "as-wasi/assembly";