Skip to content

add example for rustup +toolchain syntax when replacing cargo - #261

Merged
Shnatsel merged 1 commit into
rust-secure-code:masterfrom
CAD97:patch-1
Jul 24, 2026
Merged

Shnatsel merged 1 commit into
rust-secure-code:masterfrom
CAD97:patch-1

Conversation

@CAD97

@CAD97 CAD97 commented Jul 23, 2026 •

Copy link
Copy Markdown
Contributor

The given example script means cargo +toolchain build turns into $CARGO auditable +toolchain build, and rustup only inspects the first argument for +toolchain syntax, so the example wrapper precludes using +toolchain syntax. The alternate wrapper that I've added an example for recognizes the +toolchain argument to exec $CARGO +toolchain auditable build instead, allowing the +toolchain instruction to be processed by rustup.

@Shnatsel
Shnatsel merged commit a7bce5d into rust-secure-code:master Jul 24, 2026
@Shnatsel

Copy link
Copy Markdown
Member

Thanks!

@CAD97
CAD97 deleted the patch-1 branch July 24, 2026 17:16
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