aboutsummaryrefslogtreecommitdiffstats
path: root/libs/zora-rs/src/lib.rs
blob: 239f3af8d067c6d106a2c6753a9509d2280f3fdc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
mod utils;

use wasm_bindgen::prelude::*;

#[wasm_bindgen]
extern "C" {
    fn alert(s: &str);
}

#[wasm_bindgen]
pub fn greet() {
    alert("Hello, zora-rs!");
}