cc: remove argument parsing from only-c builds

This commit is contained in:
Jacob Young 2022-12-05 04:49:47 -05:00 committed by Andrew Kelley
parent fad2142ecf
commit c8541f0a12

View File

@ -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;