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

#![feature(unicode)] #33

Closed
spicavigo opened this issue Apr 30, 2015 · 1 comment
Closed

#![feature(unicode)] #33

spicavigo opened this issue Apr 30, 2015 · 1 comment

Comments

@spicavigo
Copy link

@spicavigo spicavigo commented Apr 30, 2015

With rustc (1.0.0-beta.3 (5241bf9c3 2015-04-25) (built 2015-04-25))

I just created a dependency with bincode = "*" in my code. Now cargo build is saying

/Users/XXX/.cargo/registry/src/github.com-1ecc6299db9ec823/bincode-0.1.2/src/lib.rs:6:1: 6:21 error: unstable feature

/Users/XXX/.cargo/registry/src/github.com-1ecc6299db9ec823/bincode-0.1.2/src/lib.rs:6 #![feature(unicode)]
                                                                                     ^~~~~~~~~~~~~~~~~~~~

note: this feature may not be used in the beta release channel
error: aborting due to previous error
Could not compile bincode.

@TyOverby
Copy link
Collaborator

@TyOverby TyOverby commented Apr 30, 2015

Fixed in efa1afd

Run cargo update -p bincode to get the beta-compatible version.

This unfortunately adds an allocation to the middle of emitting chars, but hopefully that doesn't happen very often.

I'll change it back once the unicode crate stabilizes.

@TyOverby TyOverby closed this Apr 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.