-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
Conversation
|
r? @clubby789 rustbot has assigned @clubby789. Use |
| @@ -1277,8 +1277,6 @@ impl Builder<'_> { | |||
| // | |||
| // 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 |
|
@bors r=clubby789 |
…=clubby789 Remove a couple of unnecessary flags and env vars in bootstrap
|
⌛ Testing commit 257ea3b with merge 3807573... Workflow: https://github.com/rust-lang/rust/actions/runs/21784866555 |
Remove a couple of unnecessary flags and env vars in bootstrap
…=clubby789 Remove a couple of unnecessary flags and env vars in bootstrap
|
@bors yield |
|
Auto build cancelled. Cancelled workflows: The next pull request likely to be tested is #152307. |
…uwer Rollup of 7 pull requests Successful merges: - #151745 (Remove a couple of unnecessary flags and env vars in bootstrap) - #152217 (Convert to inline diagnostics in `rustc_lint`) - #152056 (RwLock: refine documentation to emphasize non-reentrancy guarantees) - #152261 (Introduce helper `ty::Generics::has_own_self`) - #152288 (Allow only a single accepter per attribute) - #152292 (Minor change for readability) - #152300 (Port `rustc_regions` to the new attribute parser)
…uwer Rollup of 7 pull requests Successful merges: - #151745 (Remove a couple of unnecessary flags and env vars in bootstrap) - #152217 (Convert to inline diagnostics in `rustc_lint`) - #152056 (RwLock: refine documentation to emphasize non-reentrancy guarantees) - #152261 (Introduce helper `ty::Generics::has_own_self`) - #152288 (Allow only a single accepter per attribute) - #152292 (Minor change for readability) - #152300 (Port `rustc_regions` to the new attribute parser)
…uwer Rollup of 7 pull requests Successful merges: - #151745 (Remove a couple of unnecessary flags and env vars in bootstrap) - #152217 (Convert to inline diagnostics in `rustc_lint`) - #152056 (RwLock: refine documentation to emphasize non-reentrancy guarantees) - #152261 (Introduce helper `ty::Generics::has_own_self`) - #152288 (Allow only a single accepter per attribute) - #152292 (Minor change for readability) - #152300 (Port `rustc_regions` to the new attribute parser)
…uwer Rollup of 7 pull requests Successful merges: - #151745 (Remove a couple of unnecessary flags and env vars in bootstrap) - #152217 (Convert to inline diagnostics in `rustc_lint`) - #152056 (RwLock: refine documentation to emphasize non-reentrancy guarantees) - #152261 (Introduce helper `ty::Generics::has_own_self`) - #152288 (Allow only a single accepter per attribute) - #152292 (Minor change for readability) - #152300 (Port `rustc_regions` to the new attribute parser)
Rollup merge of #151745 - bjorn3:remove_unnecessary_flags, r=clubby789 Remove a couple of unnecessary flags and env vars in bootstrap
No description provided.