Skip to content
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

specify the toolchain for which llvm-tools is to be installed #39

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

cagatay-y
Copy link
Contributor

If the user is in a project with a different toolchain than the one rftrace is being built with, the component install without the toolchain argument defaults to the wrong toolchain. This change makes the error message provide the possibly necessary argument.

@cagatay-y
Copy link
Contributor Author

This was the case when I was in the kernel repository and building rftrace through xtask, since hermit-rs and kernel currently don't use the same toolchain version.

@mkroening mkroening self-assigned this Apr 17, 2024
Copy link
Member

@mkroening mkroening left a comment

Choose a reason for hiding this comment

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

Ah, yes. I recently stumbled over the same issue (hermit-os/kernel@2239624).

rftrace/build.rs Outdated Show resolved Hide resolved
If the user is in a project with a different toolchain than the one rftrace is being built with, the component install without the toolchain argument defaults to the wrong toolchain. This change makes the error message provide the possibly necessary argument.
Copy link
Member

@mkroening mkroening left a comment

Choose a reason for hiding this comment

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

Thanks!

@mkroening mkroening added this pull request to the merge queue Apr 18, 2024
Merged via the queue into hermit-os:main with commit 9dee139 Apr 18, 2024
3 checks passed
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