diff --git a/src/cmd/fetch.zig b/src/cmd/fetch.zig index c168fbad6d0004b5bd7def49e82b321ef7aa5200..a19826a5eeba68fd5baa276ea46a50abe4d7973c 100644 --- a/src/cmd/fetch.zig +++ b/src/cmd/fetch.zig @@ -64,7 +64,7 @@ pub fn create_depszig(alloc: std.mem.Allocator, cachepath: string, dir: std.fs.D \\ llc = true; \\ } \\ for (pkg.frameworks) |item| { - \\ 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})); + \\ 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})); \\ exe.linkFramework(item); \\ llc = true; \\ }