| ... | ... | @@ -143,7 +143,16 @@ pub fn buildCrtFile(comp: *Compilation, crt_file: CrtFile, prog_node: std.Progre |
| 143 | 143 | // Compile libwasi-emulated-process-clocks. |
| 144 | 144 | var args = std.ArrayList([]const u8).init(arena); |
| 145 | 145 | try addCCArgs(comp, arena, &args, .{ .want_O3 = true }); |
| 146 | | try addLibcBottomHalfIncludes(comp, arena, &args); |
| 146 | try args.appendSlice(&.{ |
| 147 | "-I", |
| 148 | try comp.dirs.zig_lib.join(arena, &.{ |
| 149 | "libc", |
| 150 | "wasi", |
| 151 | "libc-bottom-half", |
| 152 | "cloudlibc", |
| 153 | "src", |
| 154 | }), |
| 155 | }); |
| 147 | 156 | |
| 148 | 157 | for (emulated_process_clocks_src_files) |file_path| { |
| 149 | 158 | try libc_sources.append(.{ |