Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssemblyScript: --memoryBase flag #103

Closed
LeXXik opened this issue Aug 12, 2020 · 1 comment · Fixed by #109
Closed

AssemblyScript: --memoryBase flag #103

LeXXik opened this issue Aug 12, 2020 · 1 comment · Fixed by #109
Assignees
Labels
bug Something isn't working

Comments

@LeXXik
Copy link

LeXXik commented Aug 12, 2020

Starting from the WebAssembly Linear Memory example, the paragraph keeps telling to go and look at --memoryBase flag. And that's all.

It would be nice, if there would be a few words about how to actually use it. The examples don't use this flag, then why should I? Will I get unexpected results, if yes, then when? For example, the instruction here:
https://github.com/torch2424/wasm-by-example/tree/master/examples/webassembly-linear-memory/demo/assemblyscript
says to use the following command to compile asc index.ts -b index.wasm -t index.wat

@torch2424
Copy link
Owner

Ah! I didn't realize that! Thanks for mentioning this @LeXXik !

I think I wrote that originally, and then forgot to link to the flag in the docs 🙃 So I'll fix this asap 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants