Skip to content

make compiletest aware whether compiler was built with debug assertions #123987

Closed
@matthiaskrgr

Description

@matthiaskrgr

I would like to be able to add tests of the form:
"rustc must crash on this file, but only if the compiler was built with debug assertions, otherwise the test shall be ignored (since it wont crash)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-compiletestArea: The compiletest test runnerA-testsuiteArea: The testsuite used to check the correctness of rustcC-enhancementCategory: An issue proposing an enhancement or a PR with one.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions