Add Crystal to Rust example.

This commit is contained in:
Calvin Hill
2019-01-07 09:19:38 +00:00
parent 0ab5fe120e
commit e373c1994c
4 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
#[no_mangle]
pub extern "C" fn double_input(input: i32) -> i32 {
input * 2
}