| ... | @@ -3828,6 +3828,7 @@ fn createModule( | ... | @@ -3828,6 +3828,7 @@ fn createModule( |
| 3828 | if (target.os.tag == .wasi) { | 3828 | if (target.os.tag == .wasi) { |
| 3829 | if (wasi_libc.getEmulatedLibCrtFile(lib_name)) |crt_file| { | 3829 | if (wasi_libc.getEmulatedLibCrtFile(lib_name)) |crt_file| { |
| 3830 | try create_module.wasi_emulated_libs.append(arena, crt_file); | 3830 | try create_module.wasi_emulated_libs.append(arena, crt_file); |
| | 3831 | create_module.opts.link_libc = true; |
| 3831 | continue; | 3832 | continue; |
| 3832 | } | 3833 | } |
| 3833 | } | 3834 | } |