Last active
April 3, 2019 07:46
-
-
Save Hywan/8ba166757f59a959209ccd5a80189099 to your computer and use it in GitHub Desktop.
Wasm examples, Rust part
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[no_mangle] | |
pub extern fn sum(x: i32, y: i32) -> i32 { | |
x + y | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment