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

[beta] Go back to not hashing RUSTFLAGS in -Cmetadata #7459

Merged
merged 2 commits into from
Sep 30, 2019

Conversation

alexcrichton
Copy link
Member

This is a beta backport of #7417

This is a moral revert of rust-lang#6503 but not a literal code revert. This
switches Cargo's behavior to avoid hashing compiler flags into
`-Cmetadata` since we've now had multiple requests of excluding flags
from the `-Cmetadata` hash: usage of `--remap-path-prefix` and PGO
options. These options should only affect how the compiler is
invoked/compiled and not radical changes such as symbol names, but
symbol names are changed based on `-Cmetadata`. Instead Cargo will still
track these flags internally, but only for reinvoking rustc, and not for
caching separately based on rustc flags.

Closes rust-lang#7416
@rust-highfive
Copy link

r? @ehuss

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive
Copy link

⚠️ Warning ⚠️

  • Pull requests are usually filed against the master branch for this repo, but this one is against rust-1.39.0. Please double check that you specified the right target!

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 30, 2019
@ehuss
Copy link
Contributor

ehuss commented Sep 30, 2019

@bors r+

@bors
Copy link
Collaborator

bors commented Sep 30, 2019

📌 Commit be712ff has been approved by ehuss

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 30, 2019
@bors
Copy link
Collaborator

bors commented Sep 30, 2019

⌛ Testing commit be712ff with merge 2f60d2389f88480aa58618f5db463a755bc49cdd...

@bors
Copy link
Collaborator

bors commented Sep 30, 2019

💔 Test failed - checks-azure

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Sep 30, 2019
@alexcrichton
Copy link
Member Author

@bors: r=ehuss

@bors
Copy link
Collaborator

bors commented Sep 30, 2019

📌 Commit e2637c0 has been approved by ehuss

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 30, 2019
@bors
Copy link
Collaborator

bors commented Sep 30, 2019

⌛ Testing commit e2637c0 with merge 1c6ec66...

bors added a commit that referenced this pull request Sep 30, 2019
[beta] Go back to not hashing `RUSTFLAGS` in `-Cmetadata`

This is a beta backport of #7417
@bors
Copy link
Collaborator

bors commented Sep 30, 2019

☀️ Test successful - checks-azure
Approved by: ehuss
Pushing 1c6ec66 to rust-1.39.0...

@bors bors merged commit e2637c0 into rust-lang:rust-1.39.0 Sep 30, 2019
@bors bors deleted the beta-next branch September 30, 2019 23:16
alexcrichton added a commit to alexcrichton/rust that referenced this pull request Oct 1, 2019
1 commits in 4b105b6abfb12d6985ffe66670e8b2a85982291a..1c6ec66d5bae40e9dfd2fb82f091b5172c212d73
2019-09-25 17:26:54 +0000 to 2019-09-30 21:43:14 +0000
- [beta] Go back to not hashing `RUSTFLAGS` in `-Cmetadata` (rust-lang/cargo#7459)
tmandry added a commit to tmandry/rust that referenced this pull request Oct 2, 2019
…huss

[BETA] Update cargo

1 commits in 4b105b6abfb12d6985ffe66670e8b2a85982291a..1c6ec66d5bae40e9dfd2fb82f091b5172c212d73
2019-09-25 17:26:54 +0000 to 2019-09-30 21:43:14 +0000
- [beta] Go back to not hashing `RUSTFLAGS` in `-Cmetadata` (rust-lang/cargo#7459)
@ehuss ehuss added this to the 1.39.0 milestone Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants