Closed gregwebs closed 8 years ago
Fixed in 0.4.1. Thanks for reporting!
Thanks for fixing! I did run into another issue
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading mioco v0.4.1
Compiling mioco v0.4.1
/root/.cargo/registry/src/github.com-88ac128001ac3a9a/mioco-0.4.1/src/coroutine.rs:238:37: 238:61 error: cannot invoke tuple struct constructor with private fields [E0450]
/root/.cargo/registry/src/github.com-88ac128001ac3a9a/mioco-0.4.1/src/coroutine.rs:238 let coroutine_user_fn = panic::AssertRecoverSafe(coroutine_user_fn);
^~~~~~~~~~~~~~~~~~~~~~~~
/root/.cargo/registry/src/github.com-88ac128001ac3a9a/mioco-0.4.1/src/coroutine.rs:238:37: 238:61 help: run `rustc --explain E0450` to see a detailed explanation
error: aborting due to previous error
Could not compile `mioco`.
I can't reproduce. I think you might have to update to the latest nightly.
Yeah, I was using a docker image that hasn't been updated for 2 weeks. I updated to the latest nightly and it worked.
I am a new rust user. It seems mioco can only be compiled on nightly due to its usage of features. On nightly I get the following error: