Merge pull request #4887 from marler8997/buildZigFormat

build.zig: run zig fmt
This commit is contained in:
Ray 2025-04-12 20:52:41 +02:00 committed by GitHub
commit 5000f9f6f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -192,7 +192,6 @@ fn compileRaylib(b: *std.Build, target: std.Build.ResolvedTarget, optimize: std.
setDesktopPlatform(raylib, options.platform);
},
.linux => {
if (options.platform == .drm) {
if (options.opengl_version == .auto) {
raylib.linkSystemLibrary("GLESv2");
@ -213,9 +212,7 @@ fn compileRaylib(b: *std.Build, target: std.Build.ResolvedTarget, optimize: std.
.linux => "linux-x86_64",
.windows => "windows-x86_64",
.macos => "darwin-x86_64",
else => {
@panic("unsupported host OS");
}
else => @panic("unsupported host OS"),
};
const androidTriple = try target.result.linuxTriple(b.allocator);
@ -442,7 +439,7 @@ pub const PlatformBackend = enum {
rgfw,
sdl,
drm,
android
android,
};
pub fn build(b: *std.Build) !void {