gpu-dawn: fix duplicate symbol main on x86_64-linux

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-08-07 22:03:25 -07:00
parent 8651d16011
commit d4fb7bf42a
3 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ pub fn build(b: *Builder) void {
// Just to demonstrate/test linking. This is not a functional example, see the mach/gpu examples
// or Dawn C++ examples for functional example code.
const example = b.addExecutable("dawn-example", "src/dawn/dummy.zig");
const example = b.addExecutable("dawn-example", "src/main.zig");
example.setBuildMode(mode);
example.setTarget(target);
link(b, example, options);

View file

@ -1 +0,0 @@
pub fn main() void {}

1
gpu-dawn/src/main.zig Normal file
View file

@ -0,0 +1 @@
pub fn main() void {}