2 ms·
Wait what. Shouldn’t zig crosscompile C++ just fine?
by forrestthewoods 1y ago
Wait what. Shouldn’t zig crosscompile C++ just fine?
- flohofwoe 1y agoYes, the C++ code compiles just fine, but to call into C++ APIs from Zig you'll need a C API wrapper (and the same is true for ObjC APIs). Not an issue of course for pure C++ projects when the Zig toolchain is just used for cross-compiling.
- forrestthewoods 1y agoOooh yeah that makes sense.