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
{{ message }}
Repository navigation
Import attribute for controlling builtins compilation option #99
Follow-on from #95 (comment) to track support for a new import attribute to support builtins compilation options.
From that discussion:
Add an import attribute for the wasm builtin collections to enable: either 'all', 'none', or a list of specific ones to enable. The default if not specified would be 'all' (as opposed to the JS-API which defaults to 'none').
The exact name can be confirmed, but for now consider we had an attribute called wasmBuiltins:
As three separate binary compilations, but that the compilation and module record is shared between all of the above.
One issue with canonicalization when it comes to supporting multiple builtins (say comma-separated - wasmBuiltins: 'js-string,another-builtin' is that this also implies some kind of sorting canonicalization.
I think these cases should be possible to address though.
Activity
Intepreter and test updates from @rossberg (#99)