aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2021-05-21 22:25:29 +0200
committerJakub Konka <kubkon@jakubkonka.com>2021-05-21 22:29:36 +0200
commitbd325d1bd94361024f755c8bac3011a5cdffe573 (patch)
tree810449ab0769c475151d0c4f9fa191a2dc03c569 /src
parentfbd96907c9f53f01c211e6e3bbf15e53aaeb79f0 (diff)
downloadzig-bd325d1bd94361024f755c8bac3011a5cdffe573.tar.gz
zig-bd325d1bd94361024f755c8bac3011a5cdffe573.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/link/Wasm.zig2
1 files changed, 1 insertions, 1 deletions
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) {