| author | |
| committer | |
| log | a0cd4c0f327a484879cf5d538bdbfd3392759402 |
| tree | 879bd104e2c6ebbb700867efc59e938614e7125c |
| parent | d107ef86973692123892bcd5e47ce1b17982283a |
Improves a warning message for some cases of using `zig run -lc++`.1 files changed, 4 insertions(+), 0 deletions(-)
src/main.zig+4| ... | ... | @@ -2011,6 +2011,10 @@ fn buildOutputType( |
| 2011 | 2011 | i += 1; |
| 2012 | 2012 | } |
| 2013 | 2013 | } |
| 2014 | // libc++ depends on libc | |
| 2015 | if (link_libcpp) { | |
| 2016 | link_libc = true; | |
| 2017 | } | |
| 2014 | 2018 | |
| 2015 | 2019 | if (use_lld) |opt| { |
| 2016 | 2020 | if (opt and cross_target.isDarwin()) { |