-
Notifications
You must be signed in to change notification settings - Fork 481
Added incompatible_no_rustc_sysroot_env
#2428
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
Conversation
3882a61
to
0950caf
Compare
Ping @illicitonion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure we want to be uncoditionally removing this from all actions; I can believe clippy and rustc want different envs here... But also, no tests are failing, so hopefully if this breaks something someone can report a failing test case we can commit.
It’s my understanding that this has no impact on rustc and potentially negative impacts with clippy. Its existence feels low value and the intent satisfied by the —sysroot flag. Is that not correct? |
Hi @UebelAndre I've ran into issues with Could you hold on to merging this PR? I'll add some notes by the end of today. I'm just making sure the fixes don't step on each other. If you still prefer to merge the PR, could you add some tests that will fail without this PR? Just to protect from further regression. cc: @krasimirgg |
@daivinhtran The issue is I don't know exactly what causes a failure with this environment variable set. I would have expected failures to occur when enabling |
SGTM. I'll address #2418 now. Hope to send out some PR by end of today. |
@daivinhtran would you be able to confirm or deny this? I still think this would be a good change to make if it's true. |
If we're sure that we always pass One thing I'm cautious about is that If the intent was to fix #2418, the bug is fixed in |
This is why this change in behavior is introduced as a flag so users can report if this causes a breakage. As of now I know of no known use for it and only 1 issue caused by it. So again, I think we should disable it and see what happens and if a user reports an issue we can add a regression test and maintain the behavior after assessing the use case. To be clear though, the intent is to drop an unnecessary flag. This change allows us to determine this through user feedback. |
SGTM! |
To remove
SYSROOT
from Rustc actionsrelates to #2429