This repository was archived by the owner on Mar 24, 2022. It is now read-only.
This repository was archived by the owner on Mar 24, 2022. It is now read-only.
Simple AssemblyScript example fails to compile #436
Closed
Description
Hi,
I'm trying to compile AssemblyScript with Lucetc, but even the most basic example seems to not work. I'm pretty sure I'm missing something because I get this error:
Error: Lucet Module: Unknown module for symbol `env::abort
These are the steps I used to get to that point:
- Install AssemblyScript globally with
npm install -g assemblyscript
. - Initialize a new AS project in the current directory with
npx asinit .
. - Compile the wasm module with
npm run asbuild:optimized
. - Compile the wasm module with lucetc with
lucetc build/optimized.wasm -o app
.
What's the expected abort symbol? I've seen some examples that use wasi_abort
, but I don't want/need wasi.
Metadata
Metadata
Assignees
Labels
No labels