Closed
Description
I am using armhf build from http://luqman.ca/rust-builds/rust-0.9-pre-3b0d486-arm-unknown-linux-gnueabihf.zip released 2013-11-12. That generates broken code with the following program:
enum Test {
A(f64),
B
}
impl Test {
fn draw(&self) {
match *self {
A(x) => println!("A {}", x),
B => println!("B")
}
}
}
fn main() {
let s = A(0.1);
s.draw();
}
When running on armhf (Samsung ARM Chromebook) the program just goes into infinite loop instead of printing A 0.1.