Skip to content

Rust::com Rust target edition removes and rustfmt fix - #1050

Merged
LittleHuba merged 2 commits into
eclipse-score:mainfrom
bharatGoswami8:rust_target_edition_and_rustfmt_fix
Sep 7, 2026
Merged

LittleHuba merged 2 commits into
eclipse-score:mainfrom
bharatGoswami8:rust_target_edition_and_rustfmt_fix

Conversation

@bharatGoswami8

@bharatGoswami8 bharatGoswami8 commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor
  • Use the Score Rust toolchain's default edition instead of specifying
    the edition on each Rust Bazel target.

* Use the Score Rust toolchain's default edition instead of specifying
the edition on each Rust Bazel target.
@bharatGoswami8 bharatGoswami8 self-assigned this Sep 5, 2026
@bharatGoswami8 bharatGoswami8 changed the title Rust::com Rust target edition and rustfmt fix Rust::com Rust target edition removes and rustfmt fix Sep 5, 2026
@bharatGoswami8
bharatGoswami8 marked this pull request as ready for review September 7, 2026 03:20

@limdor limdor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

In e30a1be the commit message should be extended that explains what you did for reformatting. In this way the reviewer can rerun the command and see if there are any issues.
Also I'm a bit skeptical of formatting without enforcing it. Can you explain why you are reformatting in this PR? It would make more sense to do it in the PR that also introduce the enforcement otherwise it is a matter of time that it is wrongly formatted again
ab898e2

About 3f0830a you should explain in the commit message how you are fixing not just saying that it fixes an issue. It is ok to mention that this is an issue found by clippy but you as well as the reviewer (communicated via commit message) should understand why the change is done and how this is better than before.

LittleHuba
LittleHuba previously approved these changes Sep 7, 2026
- Initialize default structs without field reassignment.
- Resolve the temporary lifetime issue in the mock allocator.
- Add the missing score_com dependency for concept tests.
@bharatGoswami8

Copy link
Copy Markdown
Contributor Author

In e30a1be the commit message should be extended that explains what you did for reformatting. In this way the reviewer can rerun the command and see if there are any issues. Also I'm a bit skeptical of formatting without enforcing it. Can you explain why you are reformatting in this PR? It would make more sense to do it in the PR that also introduce the enforcement otherwise it is a matter of time that it is wrongly formatted again ab898e2

About 3f0830a you should explain in the commit message how you are fixing not just saying that it fixes an issue. It is ok to mention that this is an issue found by clippy but you as well as the reviewer (communicated via commit message) should understand why the change is done and how this is better than before.

The rustfmt fix was with configuration setup changes only but I agree that including it in the configuration PR would be more aligned.

I have also updated the commit message for the clippy fix.

@LittleHuba
LittleHuba enabled auto-merge September 7, 2026 07:44
@LittleHuba
LittleHuba added this pull request to the merge queue Sep 7, 2026
Merged via the queue into eclipse-score:main with commit 313f117 Sep 7, 2026
20 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in COM - Communication FT Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants