aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-12-01 13:01:39 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-01-01 17:51:18 -0700
commit579f572cf203eda11da7e4e919fdfc12e15f03e2 (patch)
tree7675d0ea786fb391a7f0749035d925203e448a8e /lib/std/Build.zig
parentc20ad51c621ba18d2c90cc96d1b550831dc5d7a3 (diff)
downloadzig-579f572cf203eda11da7e4e919fdfc12e15f03e2.tar.gz
zig-579f572cf203eda11da7e4e919fdfc12e15f03e2.zip
zig build system: remove vcpkg integration
Instead of vcpkg, users are encouraged to use the Zig package manager to fulfill dependencies on Windows.
Diffstat (limited to 'lib/std/Build.zig')
-rw-r--r--lib/std/Build.zig17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/std/Build.zig b/lib/std/Build.zig
index 590ac5aadf..8726feb7c1 100644
--- a/lib/std/Build.zig
+++ b/lib/std/Build.zig
@@ -67,7 +67,6 @@ cache_root: Cache.Directory,
global_cache_root: Cache.Directory,
cache: *Cache,
zig_lib_dir: ?LazyPath,
-vcpkg_root: VcpkgRoot = .unattempted,
pkg_config_pkg_list: ?(PkgConfigError![]const PkgConfigPkg) = null,
args: ?[][]const u8 = null,
debug_log_scopes: []const []const u8 = &.{},
@@ -841,10 +840,6 @@ pub fn addRunArtifact(b: *Build, exe: *Step.Compile) *Step.Run {
run_step.enableTestRunnerMode();
}
- if (exe.vcpkg_bin_path) |path| {
- run_step.addPathDir(path);
- }
-
return run_step;
}
@@ -1978,18 +1973,6 @@ pub fn constructCMacro(allocator: Allocator, name: []const u8, value: ?[]const u
return macro;
}
-pub const VcpkgRoot = union(VcpkgRootStatus) {
- unattempted: void,
- not_found: void,
- found: []const u8,
-};
-
-pub const VcpkgRootStatus = enum {
- unattempted,
- not_found,
- found,
-};
-
pub const InstallDir = union(enum) {
prefix: void,
lib: void,