| ... | ... | @@ -251,7 +251,8 @@ pub fn create(owner: *std.Build, options: Options) *Compile { |
| 251 | 251 | else |
| 252 | 252 | owner.fmt("{s} ", .{name}); |
| 253 | 253 | |
| 254 | | const target = options.root_module.target.?.result; |
| 254 | const resolved_target = options.root_module.target.?; |
| 255 | const target = resolved_target.result; |
| 255 | 256 | |
| 256 | 257 | const step_name = owner.fmt("{s} {s}{s} {s}", .{ |
| 257 | 258 | switch (options.kind) { |
| ... | ... | @@ -262,7 +263,7 @@ pub fn create(owner: *std.Build, options: Options) *Compile { |
| 262 | 263 | }, |
| 263 | 264 | name_adjusted, |
| 264 | 265 | @tagName(options.root_module.optimize orelse .Debug), |
| 265 | | target.zigTriple(owner.allocator) catch @panic("OOM"), |
| 266 | resolved_target.query.zigTriple(owner.allocator) catch @panic("OOM"), |
| 266 | 267 | }); |
| 267 | 268 | |
| 268 | 269 | const out_filename = std.zig.binNameAlloc(owner.allocator, .{ |