portable APT?
portable APT?
Posted Nov 24, 2025 17:14 UTC (Mon) by ojeda (subscriber, #143370)In reply to: portable APT? by epa
Parent article: APT Rust requirement raises questions
For that, one may write a new backend for an existing Rust compiler. That way, the borrow checker and every other compile-time check still applies.
`rustc_codegen_clr` has such a mode, and there was also another start on a new C backend for `rustc`. Neither is "production ready", but it is a nice approach, and in fact it is not uncommon for languages to design their compilers that way.
