test wasm
This commit is contained in:
1 file changed
+9
-9
+9
-9
@@ -126,12 +126,12 @@ impl Strategy {
|
||||
}
|
||||
}
|
||||
|
||||
// #[wasm_bindgen]
|
||||
// extern "C" {
|
||||
// fn alert(s: &str);
|
||||
// }
|
||||
//
|
||||
// #[wasm_bindgen]
|
||||
// pub fn greet() {
|
||||
// alert("Hello, visual-strategy!");
|
||||
// }
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
fn alert(s: &str);
|
||||
}
|
||||
|
||||
#[wasm_bindgen]
|
||||
pub fn greet() {
|
||||
alert("Hello, visual-strategy!");
|
||||
}
|
||||
Reference in new issue
Block a user