wasm-bindgen/tests
Rodrigo Rivas Costa 6b3d730a53
Implement extern "C" async functions. (#2196)
* Implement extern "C" async functions.

It converts a JS Promise into a wasm_bindgen_futures::JsFuture that
implements Future<Result<JsValue, JsValue>>.

* Run rustfmt.

Add #[rustfmt::skip] to the tests/wasm/futures.rs because it removes
the async from extern "C" blocks.
2020-06-29 11:18:47 -05:00
..
crates cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
headless Mass rename anyref to externref (#2142) 2020-05-18 09:36:30 -05:00
no-std cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
wasm Implement extern "C" async functions. (#2196) 2020-06-29 11:18:47 -05:00
must_use.rs Add a test that fails to compile if generated code triggers unused lint warning. (#2145) 2020-05-19 09:43:44 -05: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