wasm-bindgen/crates
Alex Crichton 9729efe50e Remove casting to &mut T for JS casts
I discussed this with @fitzgen awhile back and this sort of casting seems
especially problematic when you have code along the lines of:

    let mut x: HtmlElement = ...;
    {
        let y: &mut JsValue = x.as_ref();
        *y = 3.into();
    }
    x.some_html_element_method();

as that will immediately throw! We didn't have a use case for mutable casting
other than consistency, so this commit removes it for now. We can possibly add
it back in later if motivated, but for now it seems reasonable to try to avoid
these sorts of pitfalls!
2018-08-24 20:45:11 -07:00
..
backend Remove casting to &mut T for JS casts 2018-08-24 20:45:11 -07:00
cli Bump to 0.2.17 2018-08-16 23:36:42 -07:00
cli-support Remove dependency on wasmi 2018-08-20 15:14:56 -07:00
futures Remove use_extern_macros features 2018-08-19 14:33:01 -07:00
js-sys feat(extends): extend promise 2018-08-24 02:15:02 +02:00
macro Remove use_extern_macros features 2018-08-19 14:33:01 -07:00
macro-support Merge pull request #741 from alexcrichton/duplicate-statics 2018-08-20 11:37:21 -07:00
shared Bump to 0.2.17 2018-08-16 23:36:42 -07:00
test Remove use_extern_macros features 2018-08-19 14:33:01 -07:00
test-macro Bump to 0.2.17 2018-08-16 23:36:42 -07:00
typescript Fix compile on latest nightly (#489) 2018-07-17 09:11:30 -05:00
wasm-interpreter Fix wasm-interpreter with mixed types of imports 2018-08-20 16:18:09 -07:00
web-sys Skip args in overloaded method names if all same 2018-08-20 10:30:02 -07:00
webidl Tweak some WebIDL type names in methods 2018-08-20 10:32:04 -07:00
webidl-tests Tweak some WebIDL type names in methods 2018-08-20 10:32:04 -07:00