wasm-bindgen/tests/all
Alex Crichton 139b7a1aae Don't use the global stack for string lengths
This commit updates the `Abi` associated type for all slice types to a
`WasmSlice` type, an aggregate of two `u32` integers. This translates to an ABI
where when passed as a function argument it expands to two integer arguments,
and when passed as a return value it passes a return pointer as the first
argument to get filled in.

This is hopefully more forwards-compatible with the host bindings proposal which
uses this strategy for passing string arguments at least. It's a little sketchy
what we're doing as there's not really a stable ABI yet, but hopefully this'll
all be relatively stable for awhile!
2018-05-02 21:03:50 -07:00
..
api.rs Move all tests to the same suite 2018-04-09 15:32:06 -07:00
classes.rs Implement readonly struct fields 2018-04-20 10:56:10 -07:00
closures.rs Fix unused variables in generated code 2018-04-19 13:16:59 -07:00
dependencies.rs No need to expose ptr in TypeScript 2018-04-19 13:28:50 -07:00
enums.rs Fix enums defined in submodules 2018-05-02 10:17:16 -07:00
import_class.rs Move all tests to the same suite 2018-04-09 15:32:06 -07:00
imports.rs Don't use the global stack for string lengths 2018-05-02 21:03:50 -07:00
jsobjects.rs Add JsValue::{from_serde, into_serde} 2018-04-26 20:45:22 -07:00
main.rs Enable cargo test where possible 2018-04-27 15:01:35 -07:00
math.rs Move all tests to the same suite 2018-04-09 15:32:06 -07:00
node.rs Move all tests to the same suite 2018-04-09 15:32:06 -07:00
non_debug.rs Move all tests to the same suite 2018-04-09 15:32:06 -07:00
non_wasm.rs Enable cargo test where possible 2018-04-27 15:01:35 -07:00
simple.rs Assert empty JS heap/stack in tests 2018-04-25 22:15:28 -07:00
slice.rs Add support for mutable slices 2018-05-01 10:06:35 -07:00
structural.rs Move all tests to the same suite 2018-04-09 15:32:06 -07:00