You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried using the iron framework on Mac OS X Yosemite 10.10.1 with rustc 1.0.0-nightly (170c4399e 2015-01-14 00:41:55 +0000) and run into this issue. I have been trying to compile this with rust since 2015-01-12 version.
I'm not very knowledgable with the language itself or any systems programming languages, so if anything else is required for information, I'll reply ASAP.
Thanks!
#![allow(unstable)]
extern crate iron;
use iron::prelude::*;
use iron::status;
fn main() {
fn hello_world(_req: &mut Request) -> IronResult<Response> {
Ok(Response::with((status::Ok, "Hello World!")))
}
let web_server = Iron::new(hello_world);
web_server.listen("localhost:3000").unwrap();
println!("On 3000");
}
I am not sure but this looks a lot like #20676 . There seems to be a fix in #21089. If you need it urgently you could try to built rust yourself from that version. Don't know about the timeline when it will be merged into rust
Crap. I'd have not posted about this if search would have returned with that result. I agree that it is most likely the same problem. I will test it when I get some time and report back.
Tried using the iron framework on Mac OS X Yosemite 10.10.1 with
rustc 1.0.0-nightly (170c4399e 2015-01-14 00:41:55 +0000)
and run into this issue. I have been trying to compile this with rust since 2015-01-12 version.I'm not very knowledgable with the language itself or any systems programming languages, so if anything else is required for information, I'll reply ASAP.
Thanks!
The text was updated successfully, but these errors were encountered: