2 ms·
you need to use `zig c++` to compile cpp code
by kristoff_it 5y ago
you need to use `zig c++` to compile cpp code
- gavinray 5y agoOh, sweet thanks. Indeed it also right under "zig cc" in the output for "zig --help" too, if that wasn't clear enough: $ zig --help Usage: zig [command] [options] Commands: cc Use Zig as a drop-in C compiler c++ Use Zig as a drop-in C++ compiler