mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
this is going to only work for very basic libraries; I plan to slowly add more features over time to support more complicated libraries
3 lines
56 B
Zig
3 lines
56 B
Zig
export fn add(a: i32, b: i32) i32 {
|
|
return a + b;
|
|
}
|