We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbcddef commit 54de61cCopy full SHA for 54de61c
build.zig
@@ -33,6 +33,13 @@ pub fn emrunPath(b: *std.Build) []const u8 {
33
}) catch unreachable;
34
}
35
36
+pub fn htmlPath(b: *std.Build) []const u8 {
37
+ return std.fs.path.join(b.allocator, &.{
38
+ b.dependency("emsdk", .{}).path("").getPath(b),
39
+ "upstream/emscripten/src/shell.html",
40
+ }) catch unreachable;
41
+}
42
+
43
pub fn activateEmsdkStep(b: *std.Build) *std.Build.Step {
44
const emsdk_script_path = std.fs.path.join(b.allocator, &.{
45
b.dependency("emsdk", .{}).path("").getPath(b),
0 commit comments