Skip to content

When rustdoc tests crash, it is very difficult to investigate the failure #95601

Open
@nagisa

Description

@nagisa

One of the rustdoc tests is crashing and the output is:

---- src/lib.rs - span (line 28) stdout ----
Test executable failed (terminated by signal).

It is extremely difficult to actually debug this – I know rustdoc compiles a test binary and runs it, but there is no intuition whatsoever as to where to look for the executable in question!

On failures like these, I feel like we should print a path to the executable (much like cargo does).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-doctestsArea: Documentation tests, run by rustdocT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions