-
Notifications
You must be signed in to change notification settings - Fork 23
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
Add #![feature(alloc)], when enabling collections and/or alloc feature #20
Comments
Whoops, looks like this was accidentally broken in 81adf07 |
I wasn't able to build with those features enabled. :( |
That's weird, the crate has |
I'll look at it when I get time this week. |
Hmm I just tried it on nightly and indeed I can't use collections, str_char, unicode (alloc works though) |
Behavior changed between:
|
Introduced in rust-lang/rust#52644 |
I guess we'll need to use the same version detection mechanism already in use for other features: https://github.com/jethrogb/rust-core_io/blob/master/build.rs#L52-L64 |
Cool! I didn't even know that existed. Sounds good, I should be able to bisect where all of the features needed changes. (I had to add/remove features about 3 different times IIRC) |
Any progress on this? |
I started on this. It's going to take some time because I need to rebuild the patches. |
25: Fix features since nightly-2018-08-14 disallowed old features r=jethrogb a=parasyte Fixes #20 Co-authored-by: Jay Oster <[email protected]> Co-authored-by: Jay Oster <[email protected]>
error[E0658]: use of unstable library feature 'alloc': this library is unlikely to be stabilized in its current form or name (see issue #27783)
--> /home/mathias/.cargo/registry/src/6github.com-1ecc6299db9ec823/core_io-0.1.20190427/src/lib.rs:15:51
|
15 | #[cfg(all(feature="collections",no_collections))] extern crate alloc as collections;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(alloc)] to the crate attributes to enable
The text was updated successfully, but these errors were encountered: