From bd325d1bd94361024f755c8bac3011a5cdffe573 Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Fri, 21 May 2021 22:25:29 +0200 Subject: wasm: fix object extension to standard .o from .o.wasm This should offer more compatibility with external tooling when cross-compiling to wasm with zig. --- src/link/Wasm.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/link/Wasm.zig b/src/link/Wasm.zig index 8e296b2b6a..9af7be87bd 100644 --- a/src/link/Wasm.zig +++ b/src/link/Wasm.zig @@ -698,7 +698,7 @@ fn linkWithLLD(self: *Wasm, comp: *Compilation) !void { if (link_in_crt) { // TODO work out if we want standard crt, a reactor or a command - try argv.append(try comp.get_libc_crt_file(arena, "crt.o.wasm")); + try argv.append(try comp.get_libc_crt_file(arena, "crt.o")); } if (!is_obj and self.base.options.link_libc) { -- cgit v1.2.3