authorgravatar for aikawayataro@protonmail.comAikawa Yataro <aikawayataro@protonmail.com> 2024-07-23 16:00:18+00:00
committergravatar for aikawayataro@protonmail.comAikawa Yataro <aikawayataro@protonmail.com> 2024-07-23 16:06:52+00:00
log73021c1e0c72534b28c35714e9b1ff32824f5cb8
tree08e7e0d990c97175a80900a7d05208b2e2df716d
parent3a22ad70354903ccde2e7274c97e5393ef32d274
signaturelock-open Commit is signed but in an unrecognized format.

zig ld: handle -V linker arg

The "-V' argument lists the supported emulations. While linker emulation is not implemented, it's beneficial to warn user regarding this.

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

src/main.zig+2
......@@ -2475,6 +2475,8 @@ fn buildOutputType(
24752475 fatal("unable to parse /version '{s}': {s}", .{ arg, @errorName(err) });
24762476 };
24772477 have_version = true;
2478 } else if (mem.eql(u8, arg, "-V")) {
2479 warn("ignoring request for supported emulations: unimplemented", .{});
24782480 } else if (mem.eql(u8, arg, "-v")) {
24792481 try std.io.getStdOut().writeAll("zig ld " ++ build_options.version ++ "\n");
24802482 } else if (mem.eql(u8, arg, "--version")) {