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

Compilation error in v0.6.1 build #96

Closed
iPaulis opened this issue Dec 17, 2022 · 2 comments
Closed

Compilation error in v0.6.1 build #96

iPaulis opened this issue Dec 17, 2022 · 2 comments

Comments

@iPaulis
Copy link

iPaulis commented Dec 17, 2022

Hi, I just tried to compile the latest released version v0.6.1 and this error appeared:

error[E0658]: use of unstable library feature 'duration_checked_float'
--> src\ffprobe.rs:99:13
|
99 | Duration::try_from_secs_f64(duration_f)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #83400 rust-lang/rust#83400 for more information

For more information about this error, try rustc --explain E0658.
error: could not compile ab-av1 due to previous error

This problem was introduced in this version, the previous one gave no error to compile.

@alexheretic
Copy link
Owner

I made use of a new std function in recently released rust 1.66.

This actually shouldn't apply to v0.6.1 itself but does to the main git branch and future releases.

Run rustup update to update rustc.

@iPaulis
Copy link
Author

iPaulis commented Dec 17, 2022

Thanks, fixed.

@iPaulis iPaulis closed this as completed Dec 17, 2022
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