Open
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