Skip to content

offset-converter and caller-provided instantiateWasm hooks #13424

Closed
@pfaffe

Description

@pfaffe

Enabling USE_OFFSET_CONVERTER (directly or by enabling sanitizers) breaks caller provided instantiateWasm hooks.

This option adds a run dependency that is resolved in instantiateSync, instantiateAsync, or instantiateArrayBuffer. When the caller provides a custom instantiateWasm hook, however, neither of those functions is called, the dependency is never resolved, and the module never finishes loading. In particular that means that sanitizers and a custom instantiation hook cannot be used together.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions