Some WASM changes, not ready yet.

This commit is contained in:
Oleksandr Kozachuk
2023-01-03 11:15:40 +01:00
parent 69f65a5be0
commit 1b96ca3239
3 changed files with 19 additions and 2 deletions
+1 -1
View File
@@ -3,6 +3,6 @@ extern crate hel;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
pub fn add(a: i32, b: i32) -> i32 {
pub fn ok_add(a: i32, b: i32) -> i32 {
a + b + 1
}