gpu-dawn: zig fmt

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-07-08 13:37:46 -07:00
parent 3e68b6fd87
commit 8b3c4bf087

View file

@ -4,6 +4,7 @@ const Build = std.Build;
pub fn build(b: *Build) !void { pub fn build(b: *Build) !void {
const optimize = b.standardOptimizeOption(.{}); const optimize = b.standardOptimizeOption(.{});
const target = b.standardTargetOptions(.{}); const target = b.standardTargetOptions(.{});
const options = Options{ const options = Options{
.install_libs = true, .install_libs = true,
.from_source = true, .from_source = true,
@ -63,7 +64,7 @@ pub const Options = struct {
install_libs: bool = false, install_libs: bool = false,
/// The binary release version to use from https://github.com/hexops/mach-gpu-dawn/releases /// The binary release version to use from https://github.com/hexops/mach-gpu-dawn/releases
binary_version: []const u8 = "release-ac4e82f", binary_version: []const u8 = "release-ac4e82f",
/// Detects the default options to use for the given target. /// Detects the default options to use for the given target.
pub fn detectDefaults(self: Options, target: std.Target) Options { pub fn detectDefaults(self: Options, target: std.Target) Options {