Issue
Recently I got a new smartphone with fairly beefy specs, so wanting to play around with Rust on the go I installed Termux and tried to rustup-init. However, this fails:
info: syncing channel updates for 'stable-aarch64-linux-android'
info: latest update on 2017-08-31, rust version 1.20.0 (f3d6973f4 2017-08-27)
error: target not found: 'aarch64-linux-android'
Is there another way to get a Rust environment on android?
Solution
Sadly rustup won't work on android.
You can manage to install cargo and rustc using Termux "its-pointless (live_the_dream)" community repository.
Also if you have rustup already installed, rm .cargo
will remove the stub (which otherwise interferes with calling cargo
or rustc
).
Answered By - Grégory OBANOS
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.