wit-bindgen
wit-bindgen copied to clipboard
Update JS integer lowering
Updates JS integer lowering to match the component model explainer (assuming that WebAssembly/component-model#52 is merged).
The main differences are that out-of-range numbers now wrap instead of throwing, and that non-integers are now rounded down instead of throwing.