File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -378,14 +378,8 @@ pub fn create(owner: *std.Build, options: Options) *Compile {
378
378
@panic ("the root Module of a Compile step must be created with a known 'target' field" );
379
379
const target = resolved_target .result ;
380
380
381
- const step_name = owner .fmt ("{s} {s}{s} {s}" , .{
382
- switch (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
- },
381
+ const step_name = owner .fmt ("compile {s} {s}{s} {s}" , .{
382
+ @tagName (options .kind ),
389
383
name_adjusted ,
390
384
@tagName (options .root_module .optimize orelse .Debug ),
391
385
resolved_target .query .zigTriple (owner .allocator ) catch @panic ("OOM" ),
You can’t perform that action at this time.
0 commit comments