created ffi bindings and c-style data types

This commit is contained in:
neo_1993
2026-08-24 17:23:25 +02:00
parent a96829c307
commit 7dc656d705
4 changed files with 480 additions and 13 deletions
+2 -13
View File
@@ -1,14 +1,3 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}
#![feature(c_variadic)]
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}
pub(crate) mod ffi;