Skip to content

Add a tableBase CLI option #1087

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

Merged
merged 1 commit into from
Jan 30, 2020
Merged

Add a tableBase CLI option #1087

merged 1 commit into from
Jan 30, 2020

Conversation

dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Jan 29, 2020

We already have a --memoryBase option that leaves some space for other data before compiler-generated static memory. This adds the same for tables, namely a --tableBase option that leaves some space for other elements in front of the compiler-generated table.

This is mostly useful to statically link something into an AssemblyScript module after the fact. Even though that's not done yet in a sophisticated way, it also enables simple use cases that just require some additional fixed space to work with.

@dcodeIO dcodeIO merged commit e79155b into master Jan 30, 2020
@dcodeIO dcodeIO deleted the tablebase branch February 8, 2020 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant