Skip to content

Fix build failure with cargo update -p time for Rust 1.80.0 compatibility (Docs Update) #645

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

Open
wants to merge 1 commit into
base: 0.3.5.x
Choose a base branch
from

Conversation

copy2018
Copy link

@copy2018 copy2018 commented Mar 7, 2025

This update addresses a build failure caused by an outdated version of the time crate. Rust 1.80.0 introduced an API change that requires time to be at least version 0.3.35. Without this update, the build fails with a type inference error (E0282) in format_description/parse/mod.rs.

By running cargo update -p time inside core/startos, we ensure that the correct version is used, allowing the build to proceed successfully.

his update addresses a build failure caused by an outdated version of the time crate. Rust 1.80.0 introduced an API change that requires time to be at least version 0.3.35. Without this update, the build fails with a type inference error (E0282) in format_description/parse/mod.rs.

By running cargo update -p time inside core/startos, we ensure that the correct version is used, allowing the build to proceed successfully.
@copy2018 copy2018 changed the title Update packaging.rst Fix build failure with cargo update -p time for Rust 1.80.0 compatibility (Docs Update) Mar 7, 2025
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

Successfully merging this pull request may close these issues.

1 participant