This website requires JavaScript.
Explore
Help
Sign In
fluencelabs
/
wasm-bindgen
Watch
1
Star
0
Fork
0
You've already forked wasm-bindgen
mirror of
https://github.com/fluencelabs/wasm-bindgen
synced
2025-04-29 07:32:17 +00:00
Code
Issues
Projects
Releases
Wiki
Activity
wasm-bindgen
/
examples
/
add
/
src
/
lib.rs
7 lines
95 B
Rust
Raw
Normal View
History
Unescape
Escape
Add an example of a minimal wasm module
2018-04-20 22:38:22 -07:00
use
wasm_bindgen
::
prelude
::
*
;
#[
wasm_bindgen
]
pub
fn
add
(
a
:
u32
,
b
:
u32
)
->
u32
{
Revert `add` example to what was originally intended Remove stray debugging code added in the meantime.
2019-06-25 04:51:52 -07:00
a
+
b
Add an example of a minimal wasm module
2018-04-20 22:38:22 -07:00
}
Reference in New Issue
Copy Permalink