First Rust example for issue #9

This commit is contained in:
Chad Retz
2017-11-28 17:00:38 -06:00
parent 0c4fb45d79
commit ff7c88bf6c
9 changed files with 121 additions and 2 deletions

View File

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