| ... | ... | @@ -1432,6 +1432,7 @@ pub const LibExeObjStep = struct { |
| 1432 | 1432 | single_threaded: bool, |
| 1433 | 1433 | test_evented_io: bool = false, |
| 1434 | 1434 | code_model: builtin.CodeModel = .default, |
| 1435 | wasi_exec_model: ?builtin.WasiExecModel = null, |
| 1435 | 1436 | |
| 1436 | 1437 | root_src: ?FileSource, |
| 1437 | 1438 | out_h_filename: []const u8, |
| ... | ... | @@ -2549,6 +2550,9 @@ pub const LibExeObjStep = struct { |
| 2549 | 2550 | try zig_args.append("-mcmodel"); |
| 2550 | 2551 | try zig_args.append(@tagName(self.code_model)); |
| 2551 | 2552 | } |
| 2553 | if (self.wasi_exec_model) |model| { |
| 2554 | try zig_args.append(builder.fmt("-mexec-model={s}", .{@tagName(model)})); |
| 2555 | } |
| 2552 | 2556 | |
| 2553 | 2557 | if (!self.target.isNative()) { |
| 2554 | 2558 | try zig_args.append("-target"); |