all: update to use latest Zig master APIs (#521)

Co-authored-by: Scott Johnson <scott.johnson@furniturerow.com>
This commit is contained in:
NewbLuck 2022-09-09 20:07:30 -06:00 committed by GitHub
parent 0e71daf504
commit 46c4ea4ebd
Failed to generate hash of commit
4 changed files with 5 additions and 5 deletions

View file

@ -236,7 +236,7 @@ pub const App = struct {
deps: ?[]const Pkg = null,
res_dirs: ?[]const []const u8 = null,
}) App {
const target = (std.zig.system.NativeTargetInfo.detect(b.allocator, options.target) catch unreachable).target;
const target = (std.zig.system.NativeTargetInfo.detect(options.target) catch unreachable).target;
const platform = Platform.fromTarget(target);
var deps = std.ArrayList(std.build.Pkg).init(b.allocator);