3 ms·
Come on, could we get minimal bootstraping rust compiler instead of 350MB on x86_64 linux? Namely, the rust-written compiler executable to generate simple .o EL
by sylware 3y ago
Come on, could we get minimal bootstraping rust compiler instead of 350MB on x86_64 linux? Namely, the rust-written compiler executable to generate simple .o ELF object and that's it. And bootstraping: namely a static PIE ELF executable.
Rust has the opportunity to be serious, not lost like gcc.
- the8472 3y agoprocmacros are loaded as dylibs, so dynamic linking is necessary. if you want a bootstrap procedure take a look at what guix does, they go through mrustc.
- sylware 3y agoI don't want all that kludge, a simple machine code generator, a rust-written rust compiler, on x86_64 linux, a static PIE ELF executable. How hard can it be? I give it a rust compiling unit and it outputs a ELF relocatable object.