core: fix building with 'mach build'

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-05-19 08:22:05 -07:00
parent 816b5101b3
commit a69119c279

View file

@ -215,9 +215,6 @@ pub fn Sdk(comptime deps: anytype) type {
}
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);
}