gpu-dawn: fix duplicate symbol main on x86_64-linux
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
8651d16011
commit
d4fb7bf42a
3 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
pub fn main() void {}
|
||||
1
gpu-dawn/src/main.zig
Normal file
1
gpu-dawn/src/main.zig
Normal file
|
|
@ -0,0 +1 @@
|
|||
pub fn main() void {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue