| author | |
| committer | |
| log | 557a097523a8c30c25579db3c634c09c9979d3a2 |
| tree | 97cb861d8fddbc59cc155306ac03b3033d4b606b |
| parent | 7694361832090198ed6d4e4fa930990a72813642 |
Improves a warning message for some cases of using `zig run -lc++`.1 files changed, 4 insertions(+), 0 deletions(-)
src/main.zig+4| ... | ... | @@ -2023,6 +2023,10 @@ fn buildOutputType( |
| 2023 | 2023 | i += 1; |
| 2024 | 2024 | } |
| 2025 | 2025 | } |
| 2026 | // libc++ depends on libc | |
| 2027 | if (link_libcpp) { | |
| 2028 | link_libc = true; | |
| 2029 | } | |
| 2026 | 2030 | |
| 2027 | 2031 | if (use_lld) |opt| { |
| 2028 | 2032 | if (opt and cross_target.isDarwin()) { |