| ... | ... | @@ -30,6 +30,7 @@ pub fn build(b: *std.Build) !void { |
| 30 | 30 | const test_step = b.step("test", "Run all the tests"); |
| 31 | 31 | 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 | 32 | const skip_install_langref = b.option(bool, "no-langref", "skip copying of langref to the installation prefix") orelse skip_install_lib_files; |
| 33 | const no_bin = b.option(bool, "no-bin", "skip emitting compiler binary") orelse false; |
| 33 | 34 | |
| 34 | 35 | const docgen_exe = b.addExecutable(.{ |
| 35 | 36 | .name = "docgen", |
| ... | ... | @@ -166,6 +167,7 @@ pub fn build(b: *std.Build) !void { |
| 166 | 167 | exe.pie = pie; |
| 167 | 168 | exe.sanitize_thread = sanitize_thread; |
| 168 | 169 | exe.entitlements = entitlements; |
| 170 | if (no_bin) exe.emit_bin = .no_emit; |
| 169 | 171 | |
| 170 | 172 | exe.build_id = b.option( |
| 171 | 173 | std.Build.Step.Compile.BuildId, |