aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Step/InstallFile.zig
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@random-projects.net>2023-07-19 10:49:34 +0200
committerAndrew Kelley <andrew@ziglang.org>2023-07-30 11:18:50 -0700
commitce95a3b153e9f3e83232e641c26a41e7dbd01165 (patch)
treed2bd5a15abfb77cbb8d79539767cdccbde1e79d3 /lib/std/Build/Step/InstallFile.zig
parent235e6ac05df95e5dc2656cfb1a33d7b18c45a603 (diff)
downloadzig-ce95a3b153e9f3e83232e641c26a41e7dbd01165.tar.gz
zig-ce95a3b153e9f3e83232e641c26a41e7dbd01165.zip
Build.zig rename orgy (aka: #16353). Renames FileSource to LazyPath and removes functions that take literal paths instead of LazyPath.
Diffstat (limited to 'lib/std/Build/Step/InstallFile.zig')
-rw-r--r--lib/std/Build/Step/InstallFile.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/std/Build/Step/InstallFile.zig b/lib/std/Build/Step/InstallFile.zig
index 784685dc3a..f7487de598 100644
--- a/lib/std/Build/Step/InstallFile.zig
+++ b/lib/std/Build/Step/InstallFile.zig
@@ -1,6 +1,6 @@
const std = @import("std");
const Step = std.Build.Step;
-const FileSource = std.Build.FileSource;
+const LazyPath = std.Build.LazyPath;
const InstallDir = std.Build.InstallDir;
const InstallFile = @This();
const assert = std.debug.assert;
@@ -8,7 +8,7 @@ const assert = std.debug.assert;
pub const base_id = .install_file;
step: Step,
-source: FileSource,
+source: LazyPath,
dir: InstallDir,
dest_rel_path: []const u8,
/// This is used by the build system when a file being installed comes from one
@@ -17,7 +17,7 @@ dest_builder: *std.Build,
pub fn create(
owner: *std.Build,
- source: FileSource,
+ source: LazyPath,
dir: InstallDir,
dest_rel_path: []const u8,
) *InstallFile {