mach: zig fmt

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-10-16 12:54:40 -07:00
parent 023170352f
commit 96a9c94922

View file

@ -177,7 +177,9 @@ pub const App = struct {
}
};
pub fn init(b: *Builder, options: struct {
pub fn init(
b: *Builder,
options: struct {
name: []const u8,
src: []const u8,
target: CrossTarget,
@ -188,7 +190,8 @@ pub const App = struct {
/// If set, freetype will be linked and can be imported using this name.
// TODO(build-system): name is currently not used / always "freetype"
use_freetype: ?[]const u8 = null,
}) InitError!App {
},
) InitError!App {
const target = (try std.zig.system.NativeTargetInfo.detect(options.target)).target;
const platform = Platform.fromTarget(target);