Use lazy iterator in vec/slice gdb pretty printers#34639
Use lazy iterator in vec/slice gdb pretty printers#34639bors merged 1 commit intorust-lang:masterfrom dzamlo:master
Conversation
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @aturon (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
There was a problem hiding this comment.
Can you elaborate on what that means?
There was a problem hiding this comment.
I used the same ignore-* lines as the pretty-std.rs test, because the tests I added test a similar part of the code.
|
Thanks a lot for the PR! If you take care of the nits I pointed out, I'd be happy to have it merged. |
|
Should I make a second commit with the changes or do you prefer that I squash the requested changes with the existing commit? |
|
I would generally, squash them. But either of it is okay, i guess. |
Please just squash them or use |
|
I think the nits have been taken care of. |
|
Excellent! Thanks a lot! |
|
@bors r+ |
|
📌 Commit 5de76af has been approved by |
Use lazy iterator in vec/slice gdb pretty printers
|
Hm so on the Linux bots (where these tests passed) the GDB we're running is: whereas on the nightly bots (slightly different due to build funkiness) the GDB is custom-built and is: Unfortunately the test added here is failing on the nightly bot (full logs): Maybe this fix only applies to older GDB versions? Maybe we need to recompile gdb somewhat differently than what we do today? |
This ignores a test added in rust-lang#34639 because unfortunately the nightly bots are now broken, but this is now tracked in rust-lang#34662.
|
Sweet. Which Rust release version can we expect this fix to go into? |
|
@bruno-medeiros it landed just before the branch to beta, so I believe this will land in Rust 1.11, six weeks from today. |
And will this need an upcoming GDB version, or will it work in existing GDB versions? |
I think this should work with quite old versions of GDB. @alexcrichton I think we should pass |
|
@michaelwoerister uh, sure! Remind me again which bot should pass which value though? |
|
@alexcrichton I'm not sure what you mean. I was refering to this: https://github.com/rust-lang/rust-buildbot/blob/master/slaves/dist/build_gdb.sh#L15 |
|
Oh right, I see what you mean! I'll give that a spin and see if it works. |
|
@michaelwoerister So this new thing: https://www.phoronix.com/scan.php?page=news_item&px=GNU-Toolchain-Q2-2016 is unrelated to this issue? |
|
Yes, this is just an improvement to the Python-based pretty printers. |
No description provided.