You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Yes, that's correct, I don't think there's anything we can really do here unfortunately -- testing in stage0 has always been rather flaky. If you want fast turn arounds, I recommend trying ./x.py test --stage 1 src/libstd and then ./x.py test --keep-stage 0 --stage 1 src/libstd.
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: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.
The text was updated successfully, but these errors were encountered: