Upstream Issue
bytecodealliance/wit-bindgen#1518
Problem
wit-bindgen's MoonBit bindings corrupt s8 and s16 values during lift operations.
Impact on rules_wasm_component
- Affects
moonbit_wasm_component rule
- Any WIT interface using
s8 or s16 types will have incorrect values
Affected Rule
//moonbit:defs.bzl - moonbit_wasm_component
Workaround
Use s32 or u32 instead of s8/s16 until upstream fix lands.
Action Items
Labels
upstream-bug, moonbit
Upstream Issue
bytecodealliance/wit-bindgen#1518
Problem
wit-bindgen's MoonBit bindings corrupt
s8ands16values during lift operations.Impact on rules_wasm_component
moonbit_wasm_componentrules8ors16types will have incorrect valuesAffected Rule
//moonbit:defs.bzl-moonbit_wasm_componentWorkaround
Use
s32oru32instead ofs8/s16until upstream fix lands.Action Items
Labels
upstream-bug, moonbit