tokio-rs / tokio-core

I/O primitives and event loop for async I/O in Rust
Apache License 2.0
638 stars 115 forks source link

Getting a Illegal instruction segfault on arm (Raspberry Pi 1) #324

Closed weiznich closed 6 years ago

weiznich commented 6 years ago

(I'm quite unsure where to report this)

I'm trying to run some future related code on an old raspberry pi 1. After cross compiling a binary construction a reactor and spawning a future on it the program segfaults with an illegal hardware instruction error. Programs without a reactor are running fine.

Example code:

extern crate tokio_core;
extern crate futures;

fn main() {
   let core = tokio_core::reactor::Core::new().unwrap();
       core.handle().spawn(futures::future::ok(()));
    println!("Hello, world!");
}

Versions:

carllerche commented 6 years ago

I would think that this is a rust issue and should be reported on rust-lang/rust?