-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Improve handing of env vars during bootstrap process #101783
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @jyn514 (or someone else) soon. Please see the contribution instructions for more information. |
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.
Thanks for the PR. The python changes make sense to me but need changes to the implementation, I left comments inline. It would be helpful to know when you need to set these variables, I'm surprised no one has complained before.
The rust changes I'm unsure about , I left a comment inline.
We ran into this issue when the |
4243bcc
to
3329466
Compare
@rustbot ready |
@chriswailes you force pushed but I don't see any changes; maybe you forgot to commit them? |
3329466
to
1e5b4ad
Compare
@jyn514 Yup, and then I had to pull, rebase, re-compile... A full yak shave. Sorry about that. |
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.
r=me with the last nit fixed. Thanks!
1e5b4ad
to
8df181d
Compare
@bors r+ |
Improve handing of env vars during bootstrap process This CL modifies the handing of env vars during the bootstrap process in two ways: 1. Replaces '-' characters with '_' characters in target names to increase compatibility with different shells 2. Passes Stage0 snapshot compiler related env vars to early invocations of Cargo
Improve handing of env vars during bootstrap process This CL modifies the handing of env vars during the bootstrap process in two ways: 1. Replaces '-' characters with '_' characters in target names to increase compatibility with different shells 2. Passes Stage0 snapshot compiler related env vars to early invocations of Cargo
Oh right, we support python 2 still. Should be a simple fix, just use |
8df181d
to
3f421a6
Compare
This CL modifies the handing of env vars during the bootstrap process in two ways: 1. Replaces '-' characters with '_' characters in target names to increase compatibility with different shells 2. Passes Stage0 snapshot compiler related env vars to early invocations of Cargo
3f421a6
to
d1291dc
Compare
@bors r+ |
Improve handing of env vars during bootstrap process This CL modifies the handing of env vars during the bootstrap process in two ways: 1. Replaces '-' characters with '_' characters in target names to increase compatibility with different shells 2. Passes Stage0 snapshot compiler related env vars to early invocations of Cargo
…iaskrgr Rollup of 9 pull requests Successful merges: - rust-lang#101672 (array docs - advertise how to get array from slice) - rust-lang#101781 (Extend list of targets that support dyanmic linking for llvm tools) - rust-lang#101783 (Improve handing of env vars during bootstrap process) - rust-lang#101801 (add note for `layout_of` when query depth overflows) - rust-lang#101824 (rustdoc: add test cases for turning ``[Vec<T>]`` into ``[`Vec<T>`]``) - rust-lang#101861 (Update stdarch) - rust-lang#101873 (Allow building `rust-analyzer-proc-macro-srv` as a standalone tool) - rust-lang#101918 (rustdoc: clean up CSS for All Items and All Crates lists) - rust-lang#101934 (Continue migration of CSS themes) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
In rust-lang#101783 I accidentally removed a load-bearing linker argument. This PR adds it back in.
…an68 Add a linker argument back to boostrap.py In rust-lang#101783 I accidentally removed a load-bearing linker argument. This PR adds it back in. r? jyn514
Add a linker argument back to boostrap.py In rust-lang/rust#101783 I accidentally removed a load-bearing linker argument. This PR adds it back in. r? jyn514
Add a linker argument back to boostrap.py In rust-lang/rust#101783 I accidentally removed a load-bearing linker argument. This PR adds it back in. r? jyn514
Add a linker argument back to boostrap.py In rust-lang/rust#101783 I accidentally removed a load-bearing linker argument. This PR adds it back in. r? jyn514
This CL modifies the handing of env vars during the bootstrap process in two ways: