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

missed this important bug #5104

Merged
merged 3 commits into from
Mar 2, 2018
Merged

missed this important bug #5104

merged 3 commits into from
Mar 2, 2018

Conversation

Eh2406
Copy link
Contributor

@Eh2406 Eh2406 commented Mar 2, 2018

In the PR #5000 I finished and we merged yesterday I missed a bug and left in an outdated comment.

@alexcrichton

@rust-highfive
Copy link

r? @alexcrichton

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

@alexcrichton
Copy link
Member

Oh nice catch! Out of curiosity, would it be possible to easily add a test for this as well? (if not no worries)

@Eh2406
Copy link
Contributor Author

Eh2406 commented Mar 2, 2018

Looking into it more closely I think activation hits the MissingFeatures before it modified cx. So I think I was wrong, and this is not technically a bug. So I can't add a test. It is more a loaded foot gun for anyone adding to the kinds of activation errors. Which is how I came across it, I am working on a performance related PR that involved adding another activation error, and most of the existing test blew up in my face.

I will get ci green in a sec.

@alexcrichton
Copy link
Member

Ah ok! Sounds good to me to merge when gree nthen

@Eh2406
Copy link
Contributor Author

Eh2406 commented Mar 2, 2018

CI is green except for a spurious network error.

@alexcrichton
Copy link
Member

@bors: r+

Oh dear, that test should be updated to not hit the real index...

@bors
Copy link
Contributor

bors commented Mar 2, 2018

📌 Commit 2fa4fdf has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented Mar 2, 2018

⌛ Testing commit 2fa4fdf with merge 91739dc2c49d7f1922e9bd606ca266fb2043e7e6...

@bors
Copy link
Contributor

bors commented Mar 2, 2018

💥 Test timed out

@Eh2406
Copy link
Contributor Author

Eh2406 commented Mar 2, 2018

Added a commit that should help with the spurious network error.
How do I update the test to not hit the real index?
The test timeout I don't understand, the link is https://ci.appveyor.com/project/rust-lang-libs/cargo/build/1.0.3765 I think. but that seems unrelated to my change.

@alexcrichton
Copy link
Member

@bors: r+

Oh I've generally used Pakage::new("foo", "0.1.0").publish() which rewrites the test's home directory to use a per-test index instead.

@bors
Copy link
Contributor

bors commented Mar 2, 2018

📌 Commit d9c97de has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented Mar 2, 2018

⌛ Testing commit d9c97de with merge 8f76fde...

bors added a commit that referenced this pull request Mar 2, 2018
missed this important bug

In the PR #5000 I finished and we merged yesterday I missed a bug and left in an outdated comment.

@alexcrichton
@bors
Copy link
Contributor

bors commented Mar 2, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 8f76fde to master...

@bors bors merged commit d9c97de into rust-lang:master Mar 2, 2018
@Eh2406 Eh2406 deleted the bug_fix branch March 3, 2018 16:45
@ehuss ehuss added this to the 1.26.0 milestone Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants