Debian, Rust, and librsvg
Debian, Rust, and librsvg
Posted Nov 16, 2018 21:13 UTC (Fri) by josh (subscriber, #17465)In reply to: Debian, Rust, and librsvg by glaubitz
Parent article: Debian, Rust, and librsvg
Rust has its own conditional compilation mechanisms and target-specific mechanisms, as well as many other ways it needs to know about the details of the target platform. Going by way of C does not automatically make it perfectly portable. Quoting https://github.com/thepowersgang/mrustc/blob/master/READM... :
> - Supported Targets:
> - x86-64 linux
> - (incomplete) x86 windows
> - (incomplete) x86-64 windows
I based my comment on that. This isn't about the host platform of mrustc, it's about what the generated code targets, and using C as an intermediate language does not automatically make code portable.