Repository navigation
Adjust unsized.rs debuginfo test expected output for cdb 10.0.28000.2957 - #165815
Merged
Merged
Conversation
This was a cdb test that was failing locally when I updated Windows SDK to 10.0.28000.2957 (and thus cdb and WinDbg). Seems that for whatever reason eventual visualizations for `c` and `_box` changed between these cdb (WinDbg) versions.
Collaborator
|
rustbot has assigned @dingxiangfei2009. Use Why was this reviewer chosen?The reviewer was selected based on:
|
Member
Author
|
Forgot to mention that, yes, our CI currently still uses floating Windows SDK and thus floating cdb, therefore yes the tree will become borked when windows CI runners get an runner image that has the |
This was referenced Nov 11, 2026
wesleywiser
approved these changes
Nov 11, 2026
Member
|
Recent WinDbg versions have native support for understanding trait objects and automatically resolves them to their runtime type. Thus, these changes are expected. |
Member
|
@bors r+ rollup |
Contributor
rust-bors Bot
pushed a commit
that referenced
this pull request
Nov 11, 2026
…uwer Rollup of 6 pull requests Successful merges: - #165805 (Replace `match_span_kind` macro with `SpanKind`) - #165746 (std: don't overflow when rounding up huge thread stack sizes on unix) - #165807 (Fix 'simga' typo in char.to_lowercase documentation) - #165809 (Update to ar_archive_writer 0.5.5) - #165812 (Remove `-Z stack-protector=basic`) - #165815 (Adjust `unsized.rs` debuginfo test expected output for cdb `10.0.28000.2957`)
rust-bors Bot
pushed a commit
that referenced
this pull request
Nov 11, 2026
Rollup merge of #165815 - jieyouxu:jieyouxu/fix-unsized, r=wesleywiser Adjust `unsized.rs` debuginfo test expected output for cdb `10.0.28000.2957` This was a cdb test that was failing locally when I updated Windows SDK to `10.0.28000.2957` (and thus cdb and WinDbg). Currently our Windows CI seems to use Windows SDKs around `10.0.26100.*`. See example run: - #165808 - => https://github.com/rust-lang/rust/actions/runs/43010199577 - => https://github.com/rust-lang/rust/actions/runs/43010199577/job/130488011527 - => Runner image `windows-2025-vs2026 20261103.298.1` - => https://github.com/actions/runner-images/blob/win25-vs2026/20261103.298/images/windows/Windows2025-VS2026-Readme.md - => `10.0.26100.33674` Seems that for whatever reason eventual visualizations for `c` and `_box` changed between these cdb (WinDbg) versions. For ```rs let c: &Foo<dyn std::fmt::Debug> = &Foo { value: 7i32 }; ``` the `10.0.26100.*` series seem to output e.g. ``` //@ cdb-check:c [Type: ref$<unsized::Foo<dyn$<core::fmt::Debug> > >] //@ cdb-check: [+0x000] pointer : 0x[...] [Type: unsized::Foo<dyn$<core::fmt::Debug> > *] //@ cdb-check: [...] vtable : 0x[...] [Type: unsigned [...]int[...] (*)[4]] ``` but `10.0.28000.2957` output changed to a single line e.g. ``` c : 7 [Type: i32 (derived from ref$<unsized::Foo<dyn$<core::fmt::Debug> > >)] ``` So likely one of: - Default visualizers got updated - WinDbg internals changed - cdb <-> WinDbg engine interactions changed I cannot find cdb/WinDbg changelogs anywhere for these specific Windows SDK versions, so the best I can do is use `10.0.28000.2957` output as new expected output and gate this test on a minimum cdb version of `10.0.28000.2957`. This of course means that, before our GHA windows runner images update to a Windows SDK that's at least `10.0.28000.2957` (and thus cdb since they're distributed and versioned together), this test will not run in CI.
yawnbo
pushed a commit
to yawnbo/rust
that referenced
this pull request
Nov 16, 2026
…nathanBrouwer Rollup of 6 pull requests Successful merges: - rust-lang#165805 (Replace `match_span_kind` macro with `SpanKind`) - rust-lang#165746 (std: don't overflow when rounding up huge thread stack sizes on unix) - rust-lang#165807 (Fix 'simga' typo in char.to_lowercase documentation) - rust-lang#165809 (Update to ar_archive_writer 0.5.5) - rust-lang#165812 (Remove `-Z stack-protector=basic`) - rust-lang#165815 (Adjust `unsized.rs` debuginfo test expected output for cdb `10.0.28000.2957`) codegen: avoid CGU invalidation in path dependent debugger visualizer lookup
mehmettoplu-rs
pushed a commit
to mehmettoplu-rs/rustc_codegen_gcc
that referenced
this pull request
Nov 22, 2026
…uwer Rollup of 6 pull requests Successful merges: - rust-lang/rust#165805 (Replace `match_span_kind` macro with `SpanKind`) - rust-lang/rust#165746 (std: don't overflow when rounding up huge thread stack sizes on unix) - rust-lang/rust#165807 (Fix 'simga' typo in char.to_lowercase documentation) - rust-lang/rust#165809 (Update to ar_archive_writer 0.5.5) - rust-lang/rust#165812 (Remove `-Z stack-protector=basic`) - rust-lang/rust#165815 (Adjust `unsized.rs` debuginfo test expected output for cdb `10.0.28000.2957`)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This was a cdb test that was failing locally when I updated Windows SDK to
10.0.28000.2957(and thus cdb and WinDbg).Currently our Windows CI seems to use Windows SDKs around
10.0.26100.*. See example run:windows-2025-vs2026 20261103.298.110.0.26100.33674Seems that for whatever reason eventual visualizations for
cand_boxchanged between these cdb (WinDbg) versions. Forthe
10.0.26100.*series seem to output e.g.but
10.0.28000.2957output changed to a single line e.g.So likely one of:
I cannot find cdb/WinDbg changelogs anywhere for these specific Windows SDK versions, so the best I can do is use
10.0.28000.2957output as new expected output and gate this test on a minimum cdb version of10.0.28000.2957.This of course means that, before our GHA windows runner images update to a Windows SDK that's at least
10.0.28000.2957(and thus cdb since they're distributed and versioned together), this test will not run in CI.