-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Open
Labels
A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Description
Running ./x.py test --stage 1 --no-doc
on the latest version of nightly (#80114) causes the test suite to crash with the following error:
error: building tests with panic=abort is not supported without `-Zpanic_abort_tests`
error: aborting due to previous error
error: could not compile `panic_abort`
This seems like a bug in the bootstrapper where --no-doc
causes tests to be erroneously compiled with the abort panic strategy, since tests pass as expected with ./x.py test --stage 1
(--no-doc
omitted)
This error can be also triggered with a subset of the test suite by running ./x.py test library/panic_abort --stage 1 --no-doc
Metadata
Metadata
Assignees
Labels
A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)