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
To unblock denoland/deno#2552, deno_graph needs to be able to represent WASM modules in a module graph. To do this, we need to parse out the import sections in a module, because with the ESM-WASM integration, these can reference other JS / WASM modules (and thus they need to be part of the module graph).
To do the analysis of the WASM modules we can probably use wasmparser. It is a streaming parser, so we don't waste compute cycles and memory getting an entire WASM AST just to extract the imports.
The text was updated successfully, but these errors were encountered:
To unblock denoland/deno#2552,
deno_graph
needs to be able to represent WASM modules in a module graph. To do this, we need to parse out theimport
sections in a module, because with the ESM-WASM integration, these can reference other JS / WASM modules (and thus they need to be part of the module graph).To do the analysis of the WASM modules we can probably use
wasmparser
. It is a streaming parser, so we don't waste compute cycles and memory getting an entire WASM AST just to extract the imports.The text was updated successfully, but these errors were encountered: