| author | |
| committer | |
| log | 677a0e294116b0fcc1d69eea99c2fa62eb9873fe |
| tree | dcd7a7f74df14dad8547a23b6d5b7c7bd68a4c22 |
| parent | d0cf34a328d7818203e87b8d379e22067b7041e3 |
2 files changed, 2 insertions(+), 1 deletions(-)
build.zig+1-1| ... | ... | @@ -192,7 +192,7 @@ pub fn build(b: *std.Build) !void { |
| 192 | 192 | exe_options.addOption(bool, "llvm_has_arc", llvm_has_arc); |
| 193 | 193 | exe_options.addOption(bool, "force_gpa", force_gpa); |
| 194 | 194 | exe_options.addOption(bool, "only_c", only_c); |
| 195 | exe_options.addOption(bool, "omit_pkg_fetching_code", false); | |
| 195 | exe_options.addOption(bool, "omit_pkg_fetching_code", only_c); | |
| 196 | 196 | |
| 197 | 197 | if (link_libc) { |
| 198 | 198 | exe.linkLibC(); |
src/main.zig+1| ... | ... | @@ -3295,6 +3295,7 @@ fn buildOutputType( |
| 3295 | 3295 | switch (listen) { |
| 3296 | 3296 | .none => {}, |
| 3297 | 3297 | .stdio => { |
| 3298 | if (build_options.only_c) unreachable; | |
| 3298 | 3299 | try serve( |
| 3299 | 3300 | comp, |
| 3300 | 3301 | std.io.getStdIn(), |