std.Build.InstallArtifactStep: better default step name

This commit is contained in:
Andrew Kelley
2023-02-28 21:14:09 -07:00
parent 7efeedcd89
commit 85b4b6e3b3

View File

@@ -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,