Interaction Trees in Zig and simple benchmarks
This commit is contained in:
@@ -31,6 +31,8 @@ pub fn build(b: *std.Build) void {
|
||||
.optimize = optimize,
|
||||
});
|
||||
exe_mod.addImport("kernel_embed", kernel_mod);
|
||||
exe_mod.link_libc = true;
|
||||
exe_mod.linkSystemLibrary("uv", .{});
|
||||
const exe = b.addExecutable(.{
|
||||
.name = "tricu-zig",
|
||||
.root_module = exe_mod,
|
||||
@@ -50,6 +52,8 @@ pub fn build(b: *std.Build) void {
|
||||
});
|
||||
lib_mod.pic = true;
|
||||
lib_mod.addImport("kernel_embed", kernel_mod);
|
||||
lib_mod.link_libc = true;
|
||||
lib_mod.linkSystemLibrary("uv", .{});
|
||||
const static_lib = b.addLibrary(.{
|
||||
.name = "arboricx",
|
||||
.root_module = lib_mod,
|
||||
|
||||
Reference in New Issue
Block a user