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

warn if absolute path to rustc is used #299

Open
matthiaskrgr opened this issue Nov 4, 2023 · 0 comments
Open

warn if absolute path to rustc is used #299

matthiaskrgr opened this issue Nov 4, 2023 · 0 comments
Labels
A-errors Area: errors and warnings enhancement New feature or request

Comments

@matthiaskrgr
Copy link
Member

I recently ran into an interesting™ situation where I passed an absolute rustc path into CBR, like --script=/home/matthias.../.rustup/.../rustc
This prevents cbr from being able to dynamically alter the RUSTC version used (I guess) since rustc is no longer gotten through the the rustup wrapper or whatever, meaning that cbd will potentially download an infinite number of nightlies because it never finds a change in rustc $file behaviour because the rustc used is always the same 😆

@ehuss ehuss added enhancement New feature or request A-errors Area: errors and warnings labels Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-errors Area: errors and warnings enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants