mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-06 11:28:17 +00:00
Merge pull request #4910 from marler8997/fixEmscripten
build.zig: fix building raylib for emscripten
This commit is contained in:
@@ -504,7 +504,7 @@ fn addExamples(
|
|||||||
raylib: *std.Build.Step.Compile,
|
raylib: *std.Build.Step.Compile,
|
||||||
) !*std.Build.Step {
|
) !*std.Build.Step {
|
||||||
if (target.result.os.tag == .emscripten) {
|
if (target.result.os.tag == .emscripten) {
|
||||||
@panic("Emscripten building via Zig unsupported");
|
return &b.addFail("Emscripten building via Zig unsupported").step;
|
||||||
}
|
}
|
||||||
|
|
||||||
const all = b.step(module, "All " ++ module ++ " examples");
|
const all = b.step(module, "All " ++ module ++ " examples");
|
||||||
|
Reference in New Issue
Block a user