mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-12 12:31:22 +00:00
Add in (unsafe and incorrect) impls of Send/Sync that are now required.
This commit is contained in:
@ -90,7 +90,12 @@ fn bind2() {
|
||||
#[wasm_bindgen_test]
|
||||
fn bind3() {
|
||||
let a_list = list();
|
||||
let prepended_list = a_list.bind3(&JsValue::NULL, &JsValue::from(2), &JsValue::from(3), &JsValue::from(4));
|
||||
let prepended_list = a_list.bind3(
|
||||
&JsValue::NULL,
|
||||
&JsValue::from(2),
|
||||
&JsValue::from(3),
|
||||
&JsValue::from(4),
|
||||
);
|
||||
|
||||
let arr = Array::from(&call_function(&prepended_list));
|
||||
|
||||
|
Reference in New Issue
Block a user