Skip to content

Update to rust 1.87 #81

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

Merged
merged 1 commit into from
May 28, 2025
Merged

Update to rust 1.87 #81

merged 1 commit into from
May 28, 2025

Conversation

bircni
Copy link
Owner

@bircni bircni commented May 26, 2025

No description provided.

@bircni bircni self-assigned this May 26, 2025
@bircni bircni changed the title build: update to rust 1.87 Update to rust 1.87 May 26, 2025
@bircni bircni requested a review from Copilot May 28, 2025 21:13
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates log message formatting to use the {e} shorthand, bumps the Rust toolchain to 1.87 in CI and rustdoc workflows, and upgrades the rust-i18n dependency.

  • Switched legacy "{}" placeholders to the {e} shorthand for all warn!, info!, and error! calls.
  • Updated GitHub Actions workflows (ci.yml, rustdoc.yml) to use Rust 1.87 and ubuntu-latest.
  • Bumped rust-i18n in Cargo.toml to version 3.1.5.

Reviewed Changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/ui/yamlmenu.rs Replaced warn!("{}", e) with warn!("{e}")
src/ui/statusbar.rs Switched {:?} and "{}" logging to .display() and {e}
src/ui/properties.rs Updated warn! calls to use {e} shorthand
src/ui/preview/mod.rs Changed error logs to {e} shorthand
src/scene/object.rs Swapped {:?} for .display() and {e} in warn! messages
src/scene/mod.rs Replaced warn!("{}", e) with warn!("{e}")
src/raytracer/render.rs Updated info! to info!("... {rsize:?}")
src/main.rs Switched error!("{}") to error!("Failed... {e}")
Cargo.toml Bumped rust-i18n from 3.1.3 to 3.1.5
.github/workflows/rustdoc.yml Updated Rust toolchain from 1.85 to 1.87
.github/workflows/ci.yml Updated Rust toolchain to 1.87 and runner to ubuntu-latest

@bircni bircni merged commit 8f68bc5 into main May 28, 2025
5 checks passed
@bircni bircni deleted the rust/1.87 branch May 28, 2025 21:15
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