这里使用#[wasm_bindgen]属性,就可以把Rust 函数开放给JavaScript 使用。 打包发布到npm. 使用wasm-pack 构建WebAssembly. wasm-pack build ...
確定! 回上一頁