mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
compiler: Link libc when we're asked to link to an emulated wasi-libc library.
This commit is contained in:
parent
1e095024a7
commit
f283791a5e
@ -3828,6 +3828,7 @@ fn createModule(
|
||||
if (target.os.tag == .wasi) {
|
||||
if (wasi_libc.getEmulatedLibCrtFile(lib_name)) |crt_file| {
|
||||
try create_module.wasi_emulated_libs.append(arena, crt_file);
|
||||
create_module.opts.link_libc = true;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user