all: update to use latest Zig master APIs (#521)
Co-authored-by: Scott Johnson <scott.johnson@furniturerow.com>
This commit is contained in:
parent
0e71daf504
commit
46c4ea4ebd
4 changed files with 5 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue