update to new zig-v8-fork

This commit is contained in:
Muki Kiboigo
2025-12-05 07:30:57 -08:00
parent 2e45d547c2
commit 641c6c3f42
3 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@@ -1,5 +1,6 @@
zig-cache
/.zig-cache/
/.lp-cache/
zig-out
/vendor/netsurf/out
/vendor/libiconv/

View File

@@ -144,7 +144,7 @@ fn addDependencies(b: *Build, mod: *Build.Module, opts: *Build.Step.Options, pre
.target = target,
.optimize = mod.optimize.?,
.prebuilt_v8_path = prebuilt_v8_path,
.v8_cache_root = b.cache_root.path orelse "./",
.cache_root = b.pathFromRoot(".lp-cache"),
};
mod.addIncludePath(b.path("vendor/lightpanda"));

View File

@@ -5,8 +5,8 @@
.fingerprint = 0xda130f3af836cea0,
.dependencies = .{
.v8 = .{
.url = "https://github.com/lightpanda-io/zig-v8-fork/archive/01180f73bbf647a51e86778e34a2879eae47e7ec.tar.gz",
.hash = "v8-0.0.0-xddH6x8EBADxksPyjuglYL46iImoktNGf4S0qE05B_o2",
.url = "https://github.com/lightpanda-io/zig-v8-fork/archive/e047d2a4d5af5783763f0f6a652fab8982a08603.tar.gz",
.hash = "v8-0.0.0-xddH65gMBACRBQMM7EwmVgfi94FJyyX-0jpe5KhXYhfv",
},
// .v8 = .{ .path = "../zig-v8-fork" },
.@"ada-singleheader" = .{