diff --git a/engine/stdlib/index.html b/engine/stdlib/index.html index 49499b2..b33e47e 100644 --- a/engine/stdlib/index.html +++ b/engine/stdlib/index.html @@ -17,7 +17,7 @@
Run zig build
in your project, and the compiler will instruct you to add a .hash = "..."
field next to .url
:
note: expected .hash = "12209838fcfb7a77d2d6931efdc7448c033a1b7dad11d082c94bbeeba9d1038cd311",
Then use the dependency in your build.zig
:
pub fn build(b: *std.Build) void {
...
- exe.addModule("mach", b.dependency("mach", .{
+ exe.root_module.addImport("mach", b.dependency("mach", .{
.target = target,
.optimize = optimize,
}).module("mach"));
diff --git a/index.html b/index.html
index 11350f0..07e84a9 100644
--- a/index.html
+++ b/index.html
@@ -36,4 +36,4 @@
-