Closed Alexhuszagh closed 3 years ago
In case if you're wondering, this is a diagnostic detail, but zig cc
has improved support for C++, but the support still isn't there. We get an error of ld.lld: error: undefined symbol: vtable for __cxxabiv1::__function_type_info
, which means that virtual tables aren't supported, nor is likely the C++ standard library. I'm using zig v0.8.0
, which is the last minor release and therefore should have full support.
Looks good, thanks a lot!
Adds CI support for macOS and Windows, 64-bit ARM big and little-endian, 32-bit MIPS big and little-endian, and 64-bit RISC-V. I tried to avoid using my own project, xcross for this, but Dockcross doesn't seem to to support any big-endian, 64-bit targets, and
zig cc
currently has issues with some C++ code. I'm more than happy to switch to Dockcross if that's not required.The builds are not run automatically for commits to the repository, however, they are run on PRs and when manually desired. This closes #20.
The actions for dockcross would be quite simple as well:
Note that the Qemu runner would change for each, so we'd also need to store that additionally in the matrix.