Skip to content

Show exit status #689

Open
Open
@RalfJung

Description

@RalfJung

Programs like this are confusing to run on the playground because they print a panic message, but actually exit successfully:

fn unwind() {
    panic!();
}

fn main() {
    std::panic::catch_unwind(|| unwind()).unwrap_err();
}

It would be good to have some way to see the exit status of the program on playground, to tell whether the program (thinks it) ran successfully or failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSomething new the playground could dohelp wantedNot immediately going to be prioritized — ask for mentoring instructions!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions