Rust wasm:返回两个`Uint8Array`s
When I write a function that returns one js_sys::Uint8Array (in Rust):
#[wasm_bindgen]
pub extern "C" fn gen_pubKey(seed: &[u8]) -> Uint8Array {
let (privKey, pubKey) = ed25519::keypair(&seed);
unsafe { Uint8Array::view(&pubKey) }
}
then compile i...