| author | |
| committer | |
| log | c8541f0a12bcd07bfc24f565a58239cb5bde4c59 |
| tree | 716923b9da8d11776dbf6b2de1ea0f9c3c8aa461 |
| parent | fad2142ecf2dcfe4b73f1707559dce7e8e9fce50 |
1 files changed, 2 insertions(+), 0 deletions(-)
src/main.zig+2| ... | @@ -1406,6 +1406,8 @@ fn buildOutputType( | ... | @@ -1406,6 +1406,8 @@ fn buildOutputType( |
| 1406 | } | 1406 | } |
| 1407 | }, | 1407 | }, |
| 1408 | .cc, .cpp => { | 1408 | .cc, .cpp => { |
| 1409 | if (build_options.only_c) unreachable; | ||
| 1410 | |||
| 1409 | emit_h = .no; | 1411 | emit_h = .no; |
| 1410 | soname = .no; | 1412 | soname = .no; |
| 1411 | ensure_libc_on_non_freestanding = true; | 1413 | ensure_libc_on_non_freestanding = true; |