Skip to content

Reuse rustc verbose output instead of invoking rustc three times. - #103

Merged
jonasbb merged 1 commit into
actions-rust-lang:mainfrom
ChihweiLHBird:reuse-rustc-verbose-output
Sep 7, 2026
Merged

Reuse rustc verbose output instead of invoking rustc three times.#103
jonasbb merged 1 commit into
actions-rust-lang:mainfrom
ChihweiLHBird:reuse-rustc-verbose-output

Conversation

@ChihweiLHBird

Copy link
Copy Markdown
Contributor

Using _srt_VERBOSE as a single source of truth for rustc version, and avoid multiple times of calling rustc --version --verbose, which save about 15ms per action run. Not too much, but I think it's nice to have.

Signed-off-by: Zhiwei Liang <zhiwei.liang@zliang.me>
@jonasbb
jonasbb merged commit 70de7eb into actions-rust-lang:main Sep 7, 2026
31 checks passed
@ChihweiLHBird
ChihweiLHBird deleted the reuse-rustc-verbose-output branch September 7, 2026 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants