1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples/with-webassembly/src/add.rs
2018-09-17 21:48:06 +02:00

4 lines
67 B
Rust

#[no_mangle]
pub extern "C" fn add_one(x: i32) -> i32 {
x + 1
}