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

use of unstable library feature 'duration_float' #219

Closed
freebufdaolang opened this issue Oct 15, 2019 · 2 comments
Closed

use of unstable library feature 'duration_float' #219

freebufdaolang opened this issue Oct 15, 2019 · 2 comments

Comments

@freebufdaolang
Copy link

cargo build --examples
Compiling quiche v0.1.0 (/home/pi/quiche-master)
error[E0658]: use of unstable library feature 'duration_float'
--> src/recovery.rs:380:43
|
380 | self.rttvar = self.rttvar.mul_f64(3.0 / 4.0) +
| ^^^^^^^
|
= note: for more information, see rust-lang/rust#54361

error[E0658]: use of unstable library feature 'duration_float'
--> src/recovery.rs:381:49
|
381 | sub_abs(srtt, adjusted_rtt).mul_f64(1.0 / 4.0);
| ^^^^^^^
|
= note: for more information, see rust-lang/rust#54361

error[E0658]: use of unstable library feature 'duration_float'
--> src/recovery.rs:384:26
|
384 | srtt.mul_f64(7.0 / 8.0) + adjusted_rtt.mul_f64(1.0 / 8.0),
| ^^^^^^^
|
= note: for more information, see rust-lang/rust#54361

error[E0658]: use of unstable library feature 'duration_float'
--> src/recovery.rs:384:60
|
384 | srtt.mul_f64(7.0 / 8.0) + adjusted_rtt.mul_f64(1.0 / 8.0),
| ^^^^^^^
|
= note: for more information, see rust-lang/rust#54361

error[E0658]: use of unstable library feature 'duration_float'
--> src/recovery.rs:447:51
|
447 | cmp::max(self.latest_rtt, self.rtt()).mul_f64(TIME_THRESHOLD);
| ^^^^^^^
|
= note: for more information, see rust-lang/rust#54361

error: aborting due to 5 previous errors

For more information about this error, try rustc --explain E0658.
error: Could not compile quiche.

@freebufdaolang
Copy link
Author

rustc -V
rustc 1.36.0

@freebufdaolang
Copy link
Author

update 1.38 ok now

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

1 participant