Skip to content

Dual wasm + JS builds with wasm2js? #10065

@juj

Description

@juj

Does enabling WASM2JS change the way that the Wasm code is generated?

That is, would it be possible to have one build call generate both JS and wasm code, and in generated html, choose the appropriate target based on the browser in question?

In other words, does enabling WASM2JS impact the quality/executability of the intermediate .wasm file as wasm? (like fastcomp's wasm target did - the generated temp asm.js content was not good asm.js)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions