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

unable to compile 'trust' #5

Closed
xinster opened this issue Jan 5, 2021 · 5 comments
Closed

unable to compile 'trust' #5

xinster opened this issue Jan 5, 2021 · 5 comments

Comments

@xinster
Copy link

xinster commented Jan 5, 2021

I am using the latest stable version of rust to build this project. it stopped at here:

Compiling trust v0.1.0 (/home/brian/code/rust-tcp)
error[E0554]: #![feature] may not be used on the stable release channel
--> src/lib.rs:1:1
|
1 | #![feature(duration_float)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
For more information about this error, try rustc --explain E0554.
error: could not compile trust

it looks the nightly I am using doesn't support it anymore. which nightly should be used?
thanks!

@jonhoo
Copy link
Owner

jonhoo commented Jan 6, 2021

You need to compile this project using a nightly version of the compiler. What error do you get when you try to build it that way?

@tarcieri
Copy link

tarcieri commented Jan 6, 2021

This feature was stabilized in Rust 1.38.

The feature attribute needs to be removed now that the feature is stable to compile on any post-1.38 nightly.

@jonhoo jonhoo closed this as completed in 6902bd5 Jan 6, 2021
@jonhoo
Copy link
Owner

jonhoo commented Jan 6, 2021

Ah, I misunderstood! Fix pushed.

@xinster
Copy link
Author

xinster commented Jan 6, 2021

thanks! the error is gone. now just some warnings. I'm using the latest nightly (2021-01-05).
do you have a brief doc about how to run it and see the result?

@jonhoo
Copy link
Owner

jonhoo commented Jan 8, 2021

Hehe, it's a while ago. You'd have to see what I do in the live-stream video I think :)

binary-bruce referenced this issue in binary-bruce/rust-tcp Jun 1, 2024
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

3 participants