Skip to content

Commit 09e2a7a

Browse files
committed
Add js_name for .set_stdout()
1 parent 7fa0a0c commit 09e2a7a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

wasm/lib/src/vm_class.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ impl WASMVirtualMachine {
239239
)
240240
}
241241

242+
#[wasm_bindgen(js_name = setStdout)]
242243
pub fn set_stdout(&self, stdout: JsValue) -> Result<(), JsValue> {
243244
self.with(
244245
move |StoredVirtualMachine {

0 commit comments

Comments
 (0)