Commit c8541f0a12

Jacob Young <jacobly0@users.noreply.github.com>
2022-12-05 10:49:47
cc: remove argument parsing from only-c builds
1 parent fad2142
Changed files (1)
src/main.zig
@@ -1406,6 +1406,8 @@ fn buildOutputType(
             }
         },
         .cc, .cpp => {
+            if (build_options.only_c) unreachable;
+
             emit_h = .no;
             soname = .no;
             ensure_libc_on_non_freestanding = true;