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
Most of the code you are seeing there comes from the inclusion of the AssemblyScript runtime for memory management and GC. Your add function should be somewhere in there as well. If you do not need the runtime, try specifying --runtime none on the command line, which will yield a much smaller module.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
My step:
git clone, nom install, npn link, nom clean.
try to create a new file, which is :
run the command: ./bin/asc ./example/helloworld/helloworld.ts -t outputFile.wat -b outputFile.wasm
The result output.wat is a confusing file with size 55KB:
3368 lines totally.$~lib/rt/pure/__visit $ ~lib/memory/mempry.copy...
There is nothing related to my entry file. And Many things are included such as
So I try another way:
npx init.
npm run asbuild.
The entry file is below:
And the result is that, the same file created.
I don't know why, and I really appreciate if you could help me!
The text was updated successfully, but these errors were encountered: