gpu-dawn: update mac target help message

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-06-25 00:38:28 -07:00
parent 5cf18801a1
commit 3e0fe63e63

View file

@ -237,8 +237,8 @@ pub fn Sdk(comptime deps: anytype) type {
std.log.err(" use -Ddawn-from-source=true or set `Options.from_source = true`\n", .{}); std.log.err(" use -Ddawn-from-source=true or set `Options.from_source = true`\n", .{});
if (target.os.tag == .macos) { if (target.os.tag == .macos) {
std.log.err("", .{}); std.log.err("", .{});
if (target.cpu.arch.isX86()) std.log.err("-> Did you mean to use -Dtarget=x86_64-macos.12 ?", .{}); if (target.cpu.arch.isX86()) std.log.err("-> Did you mean to use -Dtarget=x86_64-macos.12.0...13.1-none ?", .{});
if (target.cpu.arch.isAARCH64()) std.log.err("-> Did you mean to use -Dtarget=aarch64-macos.12 ?", .{}); if (target.cpu.arch.isAARCH64()) std.log.err("-> Did you mean to use -Dtarget=aarch64-macos.12.0...13.1-none ?", .{});
} }
std.process.exit(1); std.process.exit(1);
} }