Closed nektro closed 2 years ago
Using latest master and this patch I was able to build this with both a release and debug build of self-hosted:
diff --git a/deps.zig b/deps.zig
index d5d6d7f..02039f2 100644
--- a/deps.zig
+++ b/deps.zig
@@ -85,7 +85,7 @@ pub fn addAllTo(exe: *std.build.LibExeObjStep) void {
llc = true;
}
for (pkg.c_include_dirs) |item| {
- exe.addIncludeDir(b.fmt("{s}/{s}", .{ root, item }));
+ exe.addIncludePath(b.fmt("{s}/{s}", .{ root, item }));
llc = true;
}
for (pkg.c_source_files) |item| {
Zig Version
0.10.0-dev.3672+cd5a9ba1f
Steps to Reproduce
Expected Behavior
zig from source and zig from tarballs match behavior
Actual Behavior
zig from tarball crashes unexpectedly