Closed
Description
There was a shortcut for fast testing of std with ./x.py test --stage 0 --no-doc src/libstd
, but it doesn't seem to work as of #53410. I get the following error:
Testing std stage0 (x86_64-apple-darwin -> x86_64-apple-darwin)
Compiling std v0.0.0 (file:///Users/eric/Proj/rust/rust/src/libstd)
error[E0308]: mismatched types
|
= note: expected type `&[&__test::test::TestDescAndFn]`
found type `&'static [__test::test::TestDescAndFn]`
error: aborting due to previous error
I'm guessing the problem is that the synthesized main created by the beta compiler no longer uses the same signatures in the new libtest. I suspect this is just an unfortunate consequence of this part of the test harness being part of the parser, and that there is nothing that can be done except wait for the next beta. However, I wanted to file an issue to verify my assumptions.
Metadata
Metadata
Assignees
Labels
No labels