authorgravatar for manlio.perillo@gmail.comManlio Perillo <manlio.perillo@gmail.com> 2023-01-22 21:02:23+01:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-01-23 02:07:37-05:00
log05c7f7abf1730a54568cd9dc7c8fa22102cd0f28
tree47cebc92afd59cd3da028273954b3543b003d0ac
parent55e879d2eda0a73b73778923dd4bbc6904aa107c

build: fix incorrect name in InstallArtifactStep

Rename the full_pdb_path variable to full_h_path, in the InstallArtifactStep.make method.

1 files changed, 2 insertions(+), 2 deletions(-)

lib/std/build/InstallArtifactStep.zig+2-2
...@@ -81,8 +81,8 @@ fn make(step: *Step) !void {...@@ -81,8 +81,8 @@ fn make(step: *Step) !void {
81 try builder.updateFile(self.artifact.getOutputPdbSource().getPath(builder), full_pdb_path);81 try builder.updateFile(self.artifact.getOutputPdbSource().getPath(builder), full_pdb_path);
82 }82 }
83 if (self.h_dir) |h_dir| {83 if (self.h_dir) |h_dir| {
84 const full_pdb_path = builder.getInstallPath(h_dir, self.artifact.out_h_filename);84 const full_h_path = builder.getInstallPath(h_dir, self.artifact.out_h_filename);
85 try builder.updateFile(self.artifact.getOutputHSource().getPath(builder), full_pdb_path);85 try builder.updateFile(self.artifact.getOutputHSource().getPath(builder), full_h_path);
86 }86 }
87 self.artifact.installed_path = full_dest_path;87 self.artifact.installed_path = full_dest_path;
88}88}