authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-01-28 02:27:20-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-01-30 22:03:14-08:00
logb2816f26980f7ac9f0d87c844320e29dfbb6269e
tree89364a7238cad4a94e20b120323286e1d701f66c
parent6a1fd3c69db486df7a805d211e484c60efe294ae

build.zig: only-c implies no-lib


1 files changed, 1 insertions(+), 1 deletions(-)

build.zig+1-1
...@@ -29,7 +29,7 @@ pub fn build(b: *std.Build) !void {...@@ -29,7 +29,7 @@ pub fn build(b: *std.Build) !void {
29 const use_zig_libcxx = b.option(bool, "use-zig-libcxx", "If libc++ is needed, use zig's bundled version, don't try to integrate with the system") orelse false;29 const use_zig_libcxx = b.option(bool, "use-zig-libcxx", "If libc++ is needed, use zig's bundled version, don't try to integrate with the system") orelse false;
3030
31 const test_step = b.step("test", "Run all the tests");31 const test_step = b.step("test", "Run all the tests");
32 const skip_install_lib_files = b.option(bool, "no-lib", "skip copying of lib/ files and langref to installation prefix. Useful for development") orelse false;32 const skip_install_lib_files = b.option(bool, "no-lib", "skip copying of lib/ files and langref to installation prefix. Useful for development") orelse only_c;
33 const skip_install_langref = b.option(bool, "no-langref", "skip copying of langref to the installation prefix") orelse skip_install_lib_files;33 const skip_install_langref = b.option(bool, "no-langref", "skip copying of langref to the installation prefix") orelse skip_install_lib_files;
34 const std_docs = b.option(bool, "std-docs", "include standard library autodocs") orelse false;34 const std_docs = b.option(bool, "std-docs", "include standard library autodocs") orelse false;
35 const no_bin = b.option(bool, "no-bin", "skip emitting compiler binary") orelse false;35 const no_bin = b.option(bool, "no-bin", "skip emitting compiler binary") orelse false;