mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2025-01-07 13:43:03 +03:00
535aa3193c
Can't reproduce the errors on Azure locally, but hopefully tweaking generated code can get things to work.
12 lines
273 B
Rust
12 lines
273 B
Rust
use wasm_bindgen_test::*;
|
|
|
|
include!(concat!(env!("OUT_DIR"), "/array_buffer.rs"));
|
|
|
|
#[wasm_bindgen_test]
|
|
fn take_and_return_a_bunch_of_slices() {
|
|
let f = ArrayBufferTest::new().unwrap();
|
|
let x = f.get_buffer();
|
|
f.set_buffer(None);
|
|
f.set_buffer(Some(&x));
|
|
}
|