authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2023-03-13 16:09:25 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2023-03-13 16:09:25 -07:00
log2e4d31c2a7082a02c7f83db2c16d01ada53a9ba5
tree99a45319f7fd93dcb3a7c7bae8fc9f669ef0ca6e
parent9f12942370d1f885a17355b06f20a7f10adfa87d

cmd/fetch: use builtin.target

allegedly removed in 0.9.0-dev.1326+6115cf224 ?

1 files changed, 1 insertions(+), 1 deletions(-)

src/cmd/fetch.zig+1-1
......@@ -64,7 +64,7 @@ pub fn create_depszig(alloc: std.mem.Allocator, cachepath: string, dir: std.fs.D
6464 \\ llc = true;
6565 \\ }
6666 \\ for (pkg.frameworks) |item| {
67 \\ if (!std.Target.current.isDarwin()) @panic(exe.builder.fmt("a dependency is attempting to link to the framework {s}, which is only possible under Darwin", .{item}));
67 \\ if (!builtin.target.isDarwin()) @panic(exe.builder.fmt("a dependency is attempting to link to the framework {s}, which is only possible under Darwin", .{item}));
6868 \\ exe.linkFramework(item);
6969 \\ llc = true;
7070 \\ }