wasm-bindgen/tests
Alex Crichton 0160f6af45 Fix handling of u32 between Rust and JS
All numbers in WebAssembly are signed and then each operation on them
may optionally have an unsigned version. This means that when we pass
large signed numbers to JS they actually show up as large negative
numbers even though JS numbers can faithfully represent the type.

This is fixed by adding `>>>0` in a few locations in the generated
bindings to coerce the JS value into an unsigned value.

Closes #1388
2019-03-27 13:37:14 -07:00
..
crates cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
headless Migrate all crates to the 2018 edition 2019-03-26 08:10:53 -07:00
no-std cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
wasm Fix handling of u32 between Rust and JS 2019-03-27 13:37:14 -07:00
non_wasm.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
std-crate-no-std-dep.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
unwrap_throw.rs Add the UnwrapThrowExt<T> trait 2019-01-31 13:26:21 -08:00