aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authorManlio Perillo <manlio.perillo@gmail.com>2023-01-22 21:02:23 +0100
committerAndrew Kelley <andrew@ziglang.org>2023-01-23 02:07:37 -0500
commit05c7f7abf1730a54568cd9dc7c8fa22102cd0f28 (patch)
tree47cebc92afd59cd3da028273954b3543b003d0ac /lib/std
parent55e879d2eda0a73b73778923dd4bbc6904aa107c (diff)
downloadzig-05c7f7abf1730a54568cd9dc7c8fa22102cd0f28.tar.gz
zig-05c7f7abf1730a54568cd9dc7c8fa22102cd0f28.zip
build: fix incorrect name in InstallArtifactStep
Rename the full_pdb_path variable to full_h_path, in the InstallArtifactStep.make method.
Diffstat (limited to 'lib/std')
-rw-r--r--lib/std/build/InstallArtifactStep.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/build/InstallArtifactStep.zig b/lib/std/build/InstallArtifactStep.zig
index fbf2c36063..537b8c8fd9 100644
--- a/lib/std/build/InstallArtifactStep.zig
+++ b/lib/std/build/InstallArtifactStep.zig
@@ -81,8 +81,8 @@ fn make(step: *Step) !void {
try builder.updateFile(self.artifact.getOutputPdbSource().getPath(builder), full_pdb_path);
}
if (self.h_dir) |h_dir| {
- const full_pdb_path = builder.getInstallPath(h_dir, self.artifact.out_h_filename);
- try builder.updateFile(self.artifact.getOutputHSource().getPath(builder), full_pdb_path);
+ const full_h_path = builder.getInstallPath(h_dir, self.artifact.out_h_filename);
+ try builder.updateFile(self.artifact.getOutputHSource().getPath(builder), full_h_path);
}
self.artifact.installed_path = full_dest_path;
}