I know of "zig cc" -- the same article says:
There are some follow-up issues related to zig cc which are still open:
- ...
- support compiling and linking c++ code
Did this change recently? I've tried "zig cc" for C++ before and asked on the Discord and was told it wasn't capable of it. rayga@DESKTOP-88A51E5 MINGW64 ~/Projects/tmp/zig-cc-test
$ zig version
0.9.0-dev.959+f011f1393
rayga@DESKTOP-88A51E5 MINGW64 ~/Projects/tmp/zig-cc-test
$ zig cc test.cpp
test.cpp:1:10: fatal error: 'iostream' file not found
#include <iostream>
^~~~~~~~~~
1 error generated.
rayga@DESKTOP-88A51E5 MINGW64 ~/Projects/tmp/zig-cc-test
$ clang test.cpp
rayga@DESKTOP-88A51E5 MINGW64 ~/Projects/tmp/zig-cc-test
$