| ... | @@ -378,14 +378,8 @@ pub fn create(owner: *std.Build, options: Options) *Compile { | ... | @@ -378,14 +378,8 @@ pub fn create(owner: *std.Build, options: Options) *Compile { |
| 378 | @panic("the root Module of a Compile step must be created with a known 'target' field"); | 378 | @panic("the root Module of a Compile step must be created with a known 'target' field"); |
| 379 | const target = resolved_target.result; | 379 | const target = resolved_target.result; |
| 380 | | 380 | |
| 381 | const step_name = owner.fmt("{s} {s}{s} {s}", .{ | 381 | const step_name = owner.fmt("compile {s} {s}{s} {s}", .{ |
| 382 | switch (options.kind) { | 382 | @tagName(options.kind), |
| 383 | .exe => "zig build-exe", | | |
| 384 | .lib => "zig build-lib", | | |
| 385 | .obj => "zig build-obj", | | |
| 386 | .@"test" => "zig test", | | |
| 387 | .test_obj => "zig test-obj", | | |
| 388 | }, | | |
| 389 | name_adjusted, | 383 | name_adjusted, |
| 390 | @tagName(options.root_module.optimize orelse .Debug), | 384 | @tagName(options.root_module.optimize orelse .Debug), |
| 391 | resolved_target.query.zigTriple(owner.allocator) catch @panic("OOM"), | 385 | resolved_target.query.zigTriple(owner.allocator) catch @panic("OOM"), |