Skip to content

Log compiler version in Cirrus CI #1715

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 7, 2022

Conversation

rtzoeller
Copy link
Collaborator

No description provided.

@@ -16,6 +16,8 @@ env:
build: &BUILD
build_script:
- . $HOME/.cargo/env || true
- $TOOL +$TOOLCHAIN -Vv
- rustc +$TOOLCHAIN -Vv
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@asomers any idea if it's possible to ask cargo for the rustc version, instead of hard-coding it like this?

Feels a bit weird to be using $TOOL everywhere for cargo, but hard-code rustc.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope. AFAIK invoking rustc is the best way to do it.

@rtzoeller rtzoeller marked this pull request as ready for review May 7, 2022 03:12
@rtzoeller
Copy link
Collaborator Author

bors r=asomers

@bors bors bot merged commit 11912bb into nix-rust:master May 7, 2022
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