Skip to content

chore(rust): improve build and warnings #505

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 2 commits into
base: main
Choose a base branch
from
Open

Conversation

nyurik
Copy link
Member

@nyurik nyurik commented Aug 4, 2025

There are still warnings, but at least they will be more visible.

In the future, we should make all this compilable without any warnings.

There are still warnings, but at least they will be more visible.

In the future, we should make all this compilable without any warnings.
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 improves Rust build configuration and reduces compiler warnings by updating to newer Rust editions, adopting modern string formatting, and standardizing import ordering.

  • Updates Rust editions from 2018/2021 to 2024 across crates
  • Modernizes string formatting to use inline format specifiers
  • Adds workspace-level linting configuration and clippy settings

Reviewed Changes

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

Show a summary per file
File Description
rust/Cargo.toml Upgrades workspace resolver and adds linting configuration
rust/mlt/Cargo.toml Updates to 2024 edition, adds package metadata, upgrades dependencies
rust/wasm-test/Cargo.toml Updates to 2024 edition
rust/clippy.toml Adds clippy configuration for tests and API breaking changes
rust/.gitignore Expands ignore patterns for development artifacts
Multiple .rs files Modernizes string formatting and standardizes import ordering
rust/mlt/justfile Improves build script robustness and adds debug output
Comments suppressed due to low confidence (4)

rust/wasm-test/Cargo.toml:4

  • Rust edition "2024" does not exist. The latest stable Rust edition is "2021". Consider using "2021" instead.
edition = "2024"

rust/mlt/Cargo.toml:6

  • Rust edition "2024" does not exist. The latest stable Rust edition is "2021". Consider using "2021" instead.
edition = "2024"

rust/Cargo.toml:2

  • Cargo resolver version "3" does not exist. The latest stable resolver version is "2". Consider using "2" instead.
resolver = "3"

rust/mlt/Cargo.toml:10

  • Rust version "1.85.0" may not exist yet. As of January 2025, the latest stable Rust version was around 1.84.x. Please verify this version exists before using it.
rust-version = "1.85.0"

@jjcfrancisco
Copy link
Collaborator

I can see plenty of warnings but I understand that's ok for 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

Successfully merging this pull request may close these issues.

2 participants