The rust in [main] packages is for the android target. Rust with glibc will allow compiling for gnu/linux.
With rustup, we can download multiple tool chains for different targets.
Many GUI crates in rust will detect the environment when being compiled. When compiled using the rust package in [main], these crates will think that they are compiled for android. So I can't compile them for x11 without modifying these crates' sources.
I tried to install rustup but encountered some issues. First, I downloaded the install script from https://sh.rustup.rs and ruan it with "grun --shell" but it failed. The possible reason is that it can't create tmp files. So, I downloaded the rustup-init binary directly from http://static.rust-lang.org/rustup/dist/aarch64-unknown-linux-gnu/rustup-init and ran it using grun. It can install the rust tool chains, but the installed tool chain at .cargo/bin failed to run using grun.
Why is it worth to add this package?
Home page URL
www.rust-lang.org
Source code URL
https://github.com/rust-lang/rust
Packaging policy acknowledgement
Additional information