| ... | ... | @@ -312,6 +312,12 @@ pub fn create(builder: *std.Build, options: Options) *CompileStep { |
| 312 | 312 | panic("invalid name: '{s}'. It looks like a file path, but it is supposed to be the library or application name.", .{name}); |
| 313 | 313 | } |
| 314 | 314 | |
| 315 | const step_name = builder.fmt("compile {s} {s} {s}", .{ |
| 316 | name, |
| 317 | @tagName(options.optimize), |
| 318 | options.target.zigTriple(builder.allocator) catch @panic("OOM"), |
| 319 | }); |
| 320 | |
| 315 | 321 | const self = builder.allocator.create(CompileStep) catch @panic("OOM"); |
| 316 | 322 | self.* = CompileStep{ |
| 317 | 323 | .strip = null, |
| ... | ... | @@ -328,7 +334,7 @@ pub fn create(builder: *std.Build, options: Options) *CompileStep { |
| 328 | 334 | .frameworks = StringHashMap(FrameworkLinkInfo).init(builder.allocator), |
| 329 | 335 | .step = Step.init(builder.allocator, .{ |
| 330 | 336 | .id = base_id, |
| 331 | | .name = name, |
| 337 | .name = step_name, |
| 332 | 338 | .makeFn = make, |
| 333 | 339 | }), |
| 334 | 340 | .version = options.version, |