wasm-bindgen/src
Alex Crichton e46537e6c2 Ensure that JsValue isn't considered Send
The `JsValue` type wraps a slab/heap of js objects which is managed by
the wasm-bindgen shim, and everything here is not actually able to cross
any thread boundaries. When wasm actually has threads, for example, each
thread will have to have its own slab of objects generated by
wasm-bindgen, and indices in one slab aren't valid in any other slabs.

This is technically a breaking change because `JsValue` was previously
`Send` and `Sync`, but I'm hoping that in practice this isn't actually a
breaking change because nothing in wasm can be using threads which in
theory shouldn't activate the `Send` and/or `Sync` bounds.
2018-10-10 15:47:07 -07:00
..
convert Ensure that JsValue isn't considered Send 2018-10-10 15:47:07 -07:00
cast.rs Remove casting to &mut T for JS casts 2018-08-24 20:45:11 -07:00
closure.rs Ensure that JsValue isn't considered Send 2018-10-10 15:47:07 -07:00
describe.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
lib.rs Ensure that JsValue isn't considered Send 2018-10-10 15:47:07 -07:00