Skip to content

tests/debuginfo/pretty-std.rs fails locally on Windows MSVC (cdb) #148743

@jieyouxu

Description

@jieyouxu
  • cdb version: Microsoft (R) Windows Debugger Version 10.0.26100.1742 AMD64

This test is failing locally for me due to

error: check directive(s) from `X:\repos\rust\tests\debuginfo\pretty-std.rs` not found in debugger output. errors:
    (pretty-std.rs:114) `os_string        : "IAMA OS string [...]" [Type: std::ffi::os_str::OsString]`
    (pretty-std.rs:116) `    [chars]          : "IAMA OS string [...]"`

The actual cdb output is

0:000>  dx os_string
os_string        : "IAMA OS string 😃" [Type: std::ffi::os_str::OsString    [<Raw View>]     [Type: std::ffi::os_str::OsString]
    [chars]          : "IAMA OS string 😃0:000>  dx some
some             : Some [Type: enum2$<core::option::Option<i16> >]
    [<Raw View>]     [Type: enum2$<core::option::Option<i16> >]
    [+0x002] __0              : 8 [Type: short]

(Hm, that seems to be missing a newline in between?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-debuggers-cdbArea: cdbA-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)A-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.E-needs-investigationCall for partcipation: This issues needs some investigation to determine current statusO-windows-msvcToolchain: MSVC, Operating system: WindowsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions