3 ms·
> I’m curious what the blockers are for rustc to cross-compile like zig does natively. Zig ships all the bits you need for a C/C++ toolchain including things l
by wyldfire 3y ago
> I’m curious what the blockers are for rustc to cross-compile like zig does natively.
Zig ships all the bits you need for a C/C++ toolchain including things like the C library in some cases (IIUC).
Rust could use libclang to make a "rustc cc" just like zig's. But I get the sense that it is probably not a goal of the project to have this functionality.