Closed
Description
I tried compiling a project of mine on my raspberry pi 2 but I couldnt, because rustc always crashed.
After Investigating a bit further I found this out:
fn main() {
println!("hello");
}
this DOES NOT compile
pi@babylon5 ~/foo/src (git)-[master] % RUST_BACKTRACE=1 rustc --verbose main.rs
1 pi@babylon5 ~/foo/src (git)-[master] % ls :(
main.rs
this however, DOES compile:
fn main() {
std::process::exit(5);
}
output:
pi@babylon5 ~/foo/src (git)-[master] % RUST_BACKTRACE=1 rustc --verbose main.rs
pi@babylon5 ~/foo/src (git)-[master] % ls
main main.rs
pi@babylon5 ~/foo/src (git)-[master] % ./main
5 pi@babylon5 ~/foo/src (git)-[master] % :(
Meta
rustc --version --verbose
:
rustc 1.13.0-nightly (3c5a0fa45 2016-08-22)
binary: rustc
commit-hash: 3c5a0fa45b5e2786b6e64e27f48cd129e7aefdbd
commit-date: 2016-08-22
host: armv7-unknown-linux-gnueabihf
release: 1.13.0-nightly
uname -a
:
Linux babylon5 4.4.13-v7+ #894 SMP Mon Jun 13 13:13:27 BST 2016 armv7l GNU/Linux
Metadata
Metadata
Assignees
Labels
No labels