Flatten Rust binaries and fix README header title - #456
Merged
Conversation
Signed-off-by: Keys <70819367+keys-i@users.noreply.github.com>
Signed-off-by: Keys <70819367+keys-i@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Reviewed. This is a clean, low-risk mechanical change:
- Renames
src/bin/<cmd>/main.rs→src/bin/<cmd>.rsforcurrent,default,help,home,uninstall,version, with their snapshot tests moved alongside. All renames are 100% similarity — no logic changed, and Cargo's binary discovery treats both layouts identically, so command behavior is preserved. - Fixes a duplicate H1 in the README (there were two
# SDKMAN!...headers stacked). - Net diff is trivial despite touching 21 files — almost entirely renames.
- CI green on macOS, Ubuntu, and Windows.
cargo fmt,clippy -D warnings, andcargo test(50 passed) all verified per the PR description.
No concerns. Approving.
Member
|
Thanks for contributing @keys-i 🙏 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
src/bin/<command>/main.rstosrc/bin/<command>.rs.Verification
cargo fmt --all -- --checkcargo clippy --locked --all-targets --all-features -- -D warningscargo test --locked— 50 passedgit diff --checkNote
Binary flattening preserves Cargo’s existing command behavior.