Add Python to Rust example
This commit is contained in:
4
python-to-rust/src/lib.rs
Normal file
4
python-to-rust/src/lib.rs
Normal file
@@ -0,0 +1,4 @@
|
||||
#[no_mangle]
|
||||
pub extern fn double_input(input: i32) -> i32 {
|
||||
input * 2
|
||||
}
|
||||
Reference in New Issue
Block a user