-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
error updating smallvec in rustc #61549
Comments
Can you post your |
That's curious. Happens with no config.toml, all defaults. I repro'd on both macos and linux. Also just updated to the tip of master (2a1d6c8). Did you wait all the way through stage1? It only happens when rustc rebuilds itself. |
Ah I see, that helps. I didn't do a full bootstrap. |
Reproduces on Windows (47f4975)
|
triage: P-high because I cannot tell how bad this is. Assigning to self for further investigation. Leaving nominated in hopes that we might discuss at meeting, maybe. |
I've discovered the problem. SmallVec is assuming that once an iterator returns None, it doesn't resume. I'll try to get a fix together. |
Looks like this was fixed in |
Just a minor correction, that's the wrong PR for this issue. The fix was in servo/rust-smallvec#150. I just did a few other drive-by fixes when I was reviewing the code. |
Once servo/rust-smallvec#153 merges I'll publish a new release. |
…tsakis Updates smallvec and new_debug_unreachable The version `0.6.10` of smallvec has released that fixes an [ICE](rust-lang#61549). This is re-submission of rust-lang#58773. And this may let rust-lang#56440 re-start.
…tsakis Updates smallvec and new_debug_unreachable The version `0.6.10` of smallvec has released that fixes an [ICE](rust-lang#61549). This is re-submission of rust-lang#58773. And this may let rust-lang#56440 re-start.
…tsakis Updates smallvec and new_debug_unreachable The version `0.6.10` of smallvec has released that fixes an [ICE](rust-lang#61549). This is re-submission of rust-lang#58773. And this may let rust-lang#56440 re-start.
closing as resolved since it sounds like the newer version of smallvec resolves the problems here. |
I'm trying to update rust-lang/rust to the latest smallvec (0.6.7 ➙ 0.6.9), and an running into an issue where rustc fails to compile:
I have narrowed down the change that breaks this to servo/rust-smallvec#137.
I don't know anything about smallvec and very little about rustc, so if anyone can help figure out what's wrong, I'd appreciate it. I'll keep digging a little, but it is unlikely that I'll be able to do more. This can be reproduced with
cargo update -p smallvec; ./x.py build
(on master, acda261).backtrace
The text was updated successfully, but these errors were encountered: