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 dbb3e60 commit 87ed3f8Copy full SHA for 87ed3f8
README.md
@@ -24,7 +24,10 @@ pub fn build(b: *std.Build) void {
24
25
const zgpu = b.dependency("zgpu", .{});
26
exe.root_module.addImport("zgpu", zgpu.module("root"));
27
- exe.linkLibrary(zgpu.artifact("zdawn"));
+
28
+ if (target.result.os.tag != .emscripten) {
29
+ exe.linkLibrary(zgpu.artifact("zdawn"));
30
+ }
31
}
32
```
33
0 commit comments