Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile crate with rust 1.2 #86

Closed
tower120 opened this issue Sep 7, 2015 · 3 comments
Closed

Can't compile crate with rust 1.2 #86

tower120 opened this issue Sep 7, 2015 · 3 comments

Comments

@tower120
Copy link

tower120 commented Sep 7, 2015

What rustc version (compiler flags?) do you need?
I'm trying with 1.2 stable, and have following errors:

C:\temp\rust-carboxyl-master\carboxyl-master>cargo build
    Updating registry `https://github.com/rust-lang/crates.io-index`
 Downloading rand v0.3.11
 Downloading quickcheck v0.2.23
 Downloading log v0.3.2
 Downloading winapi v0.2.2
 Downloading lazy_static v0.1.14
 Downloading libc v0.1.10
 Downloading winapi-build v0.1.1
 Downloading advapi32-sys v0.1.2
   Compiling lazy_static v0.1.14
   Compiling carboxyl v0.1.1 (file:///C:/temp/rust-carboxyl-master/carboxyl-mast
er)
src\lib.rs:136:1: 136:29 error: #[feature] may not be used on the stable release
 channel
src\lib.rs:136 #![feature(arc_weak, fnbox)]
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to previous error
Could not compile `carboxyl`.

To learn more, run the command again with --verbose.
@milibopp
Copy link
Owner

milibopp commented Sep 9, 2015

carboxyl is not quite ready for stable Rust yet, because these features are used. However, it should be possible to fix this soon, once #47 is resolved.

For now, just use nightly Rust.

@tower120
Copy link
Author

Maybe you need to add this to Readme.md ? For a while...

@milibopp
Copy link
Owner

Done. Thank you very much for the feedback!

I'm going to close this now, since #47 pretty much covers this. Feel free to re-open in case there are still any doubts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants