I followed the instructions and installation was good:
https://rustup.rs/#
Code: Select all
pi@raspberrypi3BplusX:~ $ curl https://sh.rustup.rs -sSf | sh
info: downloading installer
...
Rust is installed now. Great!
To get started you need Cargo's bin directory ($HOME/.cargo/bin) in your PATH
environment variable. Next time you log in this will be done automatically.
To configure your current shell run source $HOME/.cargo/env
pi@raspberrypi3BplusX:~ $ But even the simplest hello world compilation with rustc hangs infinitely in Raspbian Stretch:
Code: Select all
$ cat hello.rs
fn main() {
println!("Hello World!");
}
$ rustc hello.rs
Was anybody successful in installing Rust toolchain in Raspbian and getting rustc compiling?