Skip to content

fix(cargo): rewrite toolchain selectors - #3390

Open
Sakshamm-Goyal wants to merge 1 commit into
rtk-ai:developfrom
Sakshamm-Goyal:fix/cargo-toolchain-rewrite
Open

fix(cargo): rewrite toolchain selectors#3390
Sakshamm-Goyal wants to merge 1 commit into
rtk-ai:developfrom
Sakshamm-Goyal:fix/cargo-toolchain-rewrite

Conversation

@Sakshamm-Goyal

Copy link
Copy Markdown

Summary

  • recognize Cargo rustup +toolchain selectors before supported subcommands
  • preserve selectors while routing through the existing rtk cargo filter
  • cover stable, nightly, version-pinned, and beta selectors

Closes #3387.

Validation

  • cargo +1.91.0 fmt --all --check
  • cargo +1.91.0 clippy --all-targets
  • cargo +1.91.0 test
  • cargo +1.91.0 test -- --ignored
  • manual: target/debug/rtk hook check 'cargo +stable check'

AI assistance

Developed with OpenAI Codex assistance; I reviewed and validated the final diff.

Signed-off-by: Saksham Goyal <sakshamgoyal1510@gmail.com>
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

Cargo +toolchain commands are not rewritten or filtered

2 participants