-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Attempt to fix backtrace tests on i686-msvc #62897
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
Note that this isn't ready for merging yet since I'd like to see what CI comes back with |
Looks like tests were successful so this should be good to go! |
838da44
to
61b680b
Compare
@bors r+ |
📌 Commit 61b680b has been approved by |
…=pietroalbini Attempt to fix backtrace tests on i686-msvc Some fixes for i686-msvc and Windows have landed on the `backtrace` crate but hadn't made their way here yet. Let's update that and see if it passes CI.
…=pietroalbini Attempt to fix backtrace tests on i686-msvc Some fixes for i686-msvc and Windows have landed on the `backtrace` crate but hadn't made their way here yet. Let's update that and see if it passes CI.
…=pietroalbini Attempt to fix backtrace tests on i686-msvc Some fixes for i686-msvc and Windows have landed on the `backtrace` crate but hadn't made their way here yet. Let's update that and see if it passes CI.
Rollup of 14 pull requests Successful merges: - #62084 (allow clippy::unreadable_literal in unicode tables) - #62421 (Introduce `as_deref` to Option) - #62692 (rustc: precompute the largest Niche and store it in LayoutDetails.) - #62801 (Remove support for -Zlower-128bit-ops) - #62828 (Remove vector fadd/fmul reduction workarounds) - #62862 (code cleanup) - #62897 (Attempt to fix backtrace tests on i686-msvc) - #62904 (Disable d32 on armv6 hf targets) - #62907 (Initialize the MSP430 AsmParser) - #62956 (Implement slow-path for FirstSets::first) - #62963 (Allow lexer to recover from some homoglyphs) - #62970 (ci: gate toolstate repo pushes on the TOOLSTATE_PUBLISH envvar) - #62983 (Remove needless indirection through Rc) - #62985 (librustc_errors: Support ui-testing flag in annotate-snippet emitter) Failed merges: r? @ghost
@bors r- Failed in #63001 (comment). |
61b680b
to
9d4e166
Compare
@bors: r=pietroalbini I've ended up disabling the test here for i686-pc-windows-msvc. Some rationale is also in the comments in the commit, but the main tl;dr; is that this program: fn main() {
panic!();
} will have a truncated stack trace effectively randomly when compiled against an i686-pc-windows-msvc standard library that does not have either frame pointers or debuginfo. Nightlies have debuginfo so I can never get a truncated stack trace, but the testing compiler on CI does not have debuginfo in libstd. I've debugged this all the way down to our calls to We otherwise are covered with this test in the backtrace-rs crate itself which ensures that it tests i686-pc-windows-msvc and this test works there. There we have more control over codegen since everything has frame pointers and debuginfo. In the end there's not a huge amount we can do here other than maybe turn frame pointers on by default for i686-pc-windows-msvc, but I don't think this is the location for that to happen. |
📌 Commit 9d4e1669fc154733991b8f232b97572dff36aea1 has been approved by |
☔ The latest upstream changes (presumably #63029) made this pull request unmergeable. Please resolve the merge conflicts. |
9d4e166
to
e37e1ba
Compare
@bors: r=pietroalbini |
📌 Commit e37e1ba71dc093688cc06546f72ceeef39ae072b has been approved by |
⌛ Testing commit e37e1ba71dc093688cc06546f72ceeef39ae072b with merge a385138feabf36a1ed4ae98319013f40bb3c0322... |
💔 Test failed - checks-azure |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
e37e1ba
to
f16b0b6
Compare
I've pushed a commit which ignores that test as well since it's failing for basically the same reasons. @bors: r=pietroalbini |
📌 Commit f16b0b6adf431c6306ce0767b9f3d2a02df72994 has been approved by |
f16b0b6
to
a025318
Compare
@bors: r=pietroalbini |
📌 Commit a025318ae75ec3863214099c6dd1eab90c074b42 has been approved by |
Some fixes for i686-msvc and Windows have landed on the `backtrace` crate but hadn't made their way here yet. Let's update that and see if it passes CI.
a025318
to
3d2b6e7
Compare
I've updated the @bors: r=pietroalbini |
📌 Commit 3d2b6e7 has been approved by |
Attempt to fix backtrace tests on i686-msvc Some fixes for i686-msvc and Windows have landed on the `backtrace` crate but hadn't made their way here yet. Let's update that and see if it passes CI.
☀️ Test successful - checks-azure |
Some fixes for i686-msvc and Windows have landed on the
backtrace
crate but hadn't made their way here yet. Let's update that and see if
it passes CI.