From e12c0d23ad72ffa9389d90311453db535f57e450 Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Mon, 4 Mar 2024 16:24:45 +0000 Subject: Prepare to move to zine static site generator instead of hugo https://zine-ssg.io/documentation/ --- converter/src/root.zig | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 converter/src/root.zig (limited to 'converter/src/root.zig') diff --git a/converter/src/root.zig b/converter/src/root.zig new file mode 100644 index 0000000..ecfeade --- /dev/null +++ b/converter/src/root.zig @@ -0,0 +1,10 @@ +const std = @import("std"); +const testing = std.testing; + +export fn add(a: i32, b: i32) i32 { + return a + b; +} + +test "basic add functionality" { + try testing.expect(add(3, 7) == 10); +} -- cgit v1.2.3-ZIG