Skip to content

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

Open
ChihweiLHBird wants to merge 1 commit into
actions-rust-lang:mainfrom
ChihweiLHBird:reuse-rustc-verbose-output
Open

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

Conversation

@ChihweiLHBird

Copy link
Copy Markdown

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>
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.

2 participants