wasm-bindgen/crates
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
..
backend Fix enums defined in submodules 2018-05-02 10:17:16 -07:00
cli Bump to 0.2.8 2018-04-30 19:23:44 -07:00
cli-support Don't use the global stack for string lengths 2018-05-02 21:03:50 -07:00
macro Bump to 0.2.8 2018-04-30 19:23:44 -07:00
shared Bump to 0.2.8 2018-04-30 19:23:44 -07:00