build.zig: run zig fmt

This commit is contained in:
Jonathan Marler 2025-04-11 09:43:08 -06:00
parent a5639bb186
commit 3d792f3363

View file

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