Skip to content

Add compiler option to enable bulk memory#66

Draft
abelstuker wants to merge 1 commit intoTOPLLab:mainfrom
abelstuker:feat/compiler_options
Draft

Add compiler option to enable bulk memory#66
abelstuker wants to merge 1 commit intoTOPLLab:mainfrom
abelstuker:feat/compiler_options

Conversation

@abelstuker
Copy link
Copy Markdown
Contributor

Closes #63.

The --disable-bulk-memory / --disable bulk-memory flags of the WAT and AssemblyScript compilers are not always desirable. Therefore, these flags are now made opt-out and can be disabled by specifying this as a CompilerOption.

Example:

spec.test({
    title: 'Test bulk memory',
    program: `bulk_memory.wast`,
    dependencies: [],
    steps: [],
    compilerOptions: { disableBulkMemory: true } # added
});

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.

Allow bulk memory instructions

1 participant