-
Notifications
You must be signed in to change notification settings - Fork 385
DBG: add support for pretty printing nonzero numbers #5270
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
Conversation
Rust |
@Kobzol some time ago we introduced special comments to restrict version of rustc that should be used for a particular test |
Thank you, I have added a minimum rustc version comment.
|
3d31a18
to
1135330
Compare
@Kobzol I'm not sure what might be wrong with your setup. You can try to debug
|
Thank you. I didn't notice before that LLDB needs special syntax for checking the output in 201 -- this was the problem. I also used a wrong minimum rustc version. The tests should now be fixed (I hope :) |
Damn, the tests failed on my fork's Github actions :-( I use the exact same I thought that this annotation will skip compilation of the test, but it seems that it only skips checking the test debug output, is that correct? In that case I have to modify the test to work with Rust 1.32, otherwise the tests will not pass. |
@Kobzol Oh, you're right. You can try changing |
Thanks, now the tests finally pass. They are possibly also just a teeeeny tiny bit faster now that skipped tests are not being compiled :) |
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.
LGTM. Let's squash the commits into two (one about NonZero and another one about test_runner.rs
) before merge
a8ed3df
to
cdc3fd1
Compare
Thank you! bors r+ |
…rk-Simulacrum Add GDB/LLDB pretty-printers for NonZero types Add GDB/LLDB pretty-printers for `NonZero` types. These pretty-printers were originally implemented for IntelliJ Rust by `@Kobzol` in intellij-rust/intellij-rust#5270. Part of rust-lang#29392.
…sleywiser Add GDB/LLDB pretty-printers for NonZero types Add GDB/LLDB pretty-printers for `NonZero` types. These pretty-printers were originally implemented for IntelliJ Rust by `@Kobzol` in intellij-rust/intellij-rust#5270. Part of rust-lang#29392.
…sleywiser Add GDB/LLDB pretty-printers for NonZero types Add GDB/LLDB pretty-printers for `NonZero` types. These pretty-printers were originally implemented for IntelliJ Rust by ``@Kobzol`` in intellij-rust/intellij-rust#5270. Part of rust-lang#29392.
…sleywiser Add GDB/LLDB pretty-printers for NonZero types Add GDB/LLDB pretty-printers for `NonZero` types. These pretty-printers were originally implemented for IntelliJ Rust by ``@Kobzol`` in intellij-rust/intellij-rust#5270. Part of rust-lang#29392.
…sleywiser Add GDB/LLDB pretty-printers for NonZero types Add GDB/LLDB pretty-printers for `NonZero` types. These pretty-printers were originally implemented for IntelliJ Rust by ```@Kobzol``` in intellij-rust/intellij-rust#5270. Part of rust-lang#29392.
This PR adds support for pretty printing
NonZero
numbers from the standard library. So far I have implemented support for GDB, if you think that my approach is OK, let me know and I'll try to add support for LLDB.Fixes: #5247