core: fix building with 'mach build'
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
816b5101b3
commit
a69119c279
1 changed files with 0 additions and 3 deletions
|
|
@ -215,9 +215,6 @@ pub fn Sdk(comptime deps: anytype) type {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn addRunArtifact(app: *const App) *std.build.RunStep {
|
pub fn addRunArtifact(app: *const App) *std.build.RunStep {
|
||||||
if (app.platform == .web) {
|
|
||||||
@panic("mach: to run wasm binaries, use `mach build` instead of `zig build`");
|
|
||||||
}
|
|
||||||
return app.b.addRunArtifact(app.step);
|
return app.b.addRunArtifact(app.step);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue