Commit 85b4b6e3b3

Andrew Kelley <andrew@ziglang.org>
2023-03-01 05:14:09
std.Build.InstallArtifactStep: better default step name
1 parent 7efeedc
Changed files (1)
lib/std/Build/InstallArtifactStep.zig
@@ -21,7 +21,7 @@ pub fn create(builder: *std.Build, artifact: *CompileStep) *InstallArtifactStep
         .builder = builder,
         .step = Step.init(builder.allocator, .{
             .id = base_id,
-            .name = builder.fmt("install {s}", .{artifact.step.name}),
+            .name = builder.fmt("install {s}", .{artifact.name}),
             .makeFn = make,
         }),
         .artifact = artifact,