aboutsummaryrefslogtreecommitdiff
path: root/lib/std/build.zig
diff options
context:
space:
mode:
authoremekoi <emekankurumeh@outlook.com>2019-10-25 15:23:02 -0500
committerAndrew Kelley <andrew@ziglang.org>2019-12-16 16:24:54 -0500
commitd4e56ae6ae15ed1b062b0d775893abb5579fc66d (patch)
treea8020591cb37420b122c5482bbbec274a64d3014 /lib/std/build.zig
parent13cdc137e6389af83f225ab851bf8ef768ebcc69 (diff)
downloadzig-d4e56ae6ae15ed1b062b0d775893abb5579fc66d.tar.gz
zig-d4e56ae6ae15ed1b062b0d775893abb5579fc66d.zip
added -- to pass args to zig build commands
Diffstat (limited to 'lib/std/build.zig')
-rw-r--r--lib/std/build.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/std/build.zig b/lib/std/build.zig
index f7e4756e90..b2cb58a1f1 100644
--- a/lib/std/build.zig
+++ b/lib/std/build.zig
@@ -54,6 +54,7 @@ pub const Builder = struct {
is_release: bool,
override_lib_dir: ?[]const u8,
vcpkg_root: VcpkgRoot,
+ args: ?[][]const u8,
pkg_config_pkg_list: ?(PkgConfigError![]const PkgConfigPkg) = null,
const PkgConfigError = error{
@@ -160,6 +161,7 @@ pub const Builder = struct {
.override_lib_dir = null,
.install_path = undefined,
.vcpkg_root = VcpkgRoot{ .Unattempted = {} },
+ .args = null,
};
try self.top_level_steps.append(&self.install_tls);
try self.top_level_steps.append(&self.uninstall_tls);