WASM¶
Represents a Wasm module.
All component platforms of the underlying TargetPlatform are WasmPlatforms.
This module platform kind covers both Wasm targets (JS and Wasi). While it could be argued that WasmJs and WasmWasi are totally different platforms since they behave like different targets (e.g. different default imports and checkers), the current structure of WasmPlatform treats the Wasm target as a second-layer abstraction. The platform kind follows that and currently has this single value for Wasm regardless of the target.