It seems floating point code generation is broken for armhf as the
following trivial program hangs after printing 1 with
rust-0.9-pre-3b0d486-arm-
unknown-linux-gnueabihf.zip . Should I file a
bug about that?

enum Test {
    A(f64),
    B(f64)
}

impl Test {
    fn draw(&self) {
   println!("1");
        match *self {
             A(x) => println!("A {}", x),
            B(x) => println!("B {}", x)
        }
   println!("2");
    }
}

fn main() {
    let s = A(0.1);
    s.draw();
}


On 13 November 2013 09:49, Matthew McPherrin <mozi...@mcpherrin.ca> wrote:
> Luqman got rustc running on ARM.  Builds are maybe here:
> http://luqman.ca/rust-builds/
>
> On Mon, Oct 21, 2013 at 12:42 AM, Corey Richardson <co...@octayn.net> wrote:
>> I've yet to see or hear of a rustc running native on ARM, though it
>> shouldn't be impossible to cross-build rustc for native ARM: we can
>> already target ARM just fine.
>>
>> On Mon, Oct 21, 2013 at 2:01 AM, Igor Bukanov <i...@mir2.org> wrote:
>>> What is the current status of ARM support in Rust? In particularly I
>>> am interested in running the compiler on an ARM Chromebook.
>>> _______________________________________________
>>> Rust-dev mailing list
>>> Rust-dev@mozilla.org
>>> https://mail.mozilla.org/listinfo/rust-dev
>> _______________________________________________
>> Rust-dev mailing list
>> Rust-dev@mozilla.org
>> https://mail.mozilla.org/listinfo/rust-dev
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to