compiler: Link libc when we're asked to link to an emulated wasi-libc library.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user