diff options
| author | emekoi <emekankurumeh@outlook.com> | 2019-12-16 16:14:16 -0600 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-01-07 13:59:16 -0500 |
| commit | 156e43b4633bdcd23913127c6b474ce2de3c4331 (patch) | |
| tree | 2bfd9cafe649faebe34be5d783ffadee7b6b9b84 /lib/std/build.zig | |
| parent | e81b505960b106a042e4cb890971ba365a5ef180 (diff) | |
| download | zig-156e43b4633bdcd23913127c6b474ce2de3c4331.tar.gz zig-156e43b4633bdcd23913127c6b474ce2de3c4331.zip | |
added -- to pass args to zig build commands
Diffstat (limited to 'lib/std/build.zig')
| -rw-r--r-- | lib/std/build.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/std/build.zig b/lib/std/build.zig index 4384e25091..dd8dcaed40 100644 --- a/lib/std/build.zig +++ b/lib/std/build.zig @@ -60,6 +60,7 @@ pub const Builder = struct { override_lib_dir: ?[]const u8, vcpkg_root: VcpkgRoot, pkg_config_pkg_list: ?(PkgConfigError![]const PkgConfigPkg) = null, + args: ?[][]const u8 = null, const PkgConfigError = error{ PkgConfigCrashed, @@ -166,6 +167,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); |
