-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Remove a couple of unnecessary flags and env vars in bootstrap #151745
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
base: main
Are you sure you want to change the base?
Conversation
|
r? @clubby789 rustbot has assigned @clubby789. Use |
|
|
||
| // Environment variables *required* throughout the build | ||
| // | ||
| // FIXME: should update code to not require this env var |
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.
Should this FIXME be moved/removed, or does 'this env var' refer to all of these? 🤔
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 believe it also refers to CFG_COMPILER_BUILD_TRIPLE and maybe CFG_RELEASE_CHANNEL.
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 just went through the history. This fixme originates from the initial commit of the rust version of the build system and back then only applied to CFG_COMPILER_HOST_TRIPLE. The other env vars didn't exist yet. As such I removed the todo.
|
LGTM, but it could be good to update the fixme to 'these env vars' if that's appropriate; r=me when green with or without |
This lint is allowed by default nowadays.
Rustc no longer depends on winapi. Only cg_clif, cg_gcc and rustfmt still use it, none of which are libraries to compile against. And in case of both cg_clif and cg_gcc it never ends up in an artifact we ship. For cg_clif it only shows up when the jit mode is enabled, which is not the case for the version we ship. For cg_gcc it is used by a test executable, which isn't shipped either.
These flags should be available on the bootstrap compiler.
e0b76a3 to
257ea3b
Compare
|
Removed the |
No description provided.