-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tons of unexpected_cfgs
failures in portable-simd and backtrace doctests
#124740
Comments
These files are from portable-simd, which means they are sometimes their own crate and sometimes a module imported into Do we inject a |
unexpected_cfgs
failures in std doctestsunexpected_cfgs
failures in portable-simd doctests
unexpected_cfgs
failures in portable-simd doctestsunexpected_cfgs
failures in portable-simd and backtrace doctests
There's also one in std, from the backtrace module, which similarly is also sometimes a crate and sometimes a module:
|
Huh. |
It's quite possible that this is caused by the CI mess. One of the insta-merged PRs was a miri sync. |
It's possible but seems unlikely to me. I guess we'll have to see. |
Yes, there is, rust/src/bootstrap/src/core/builder.rs Lines 1545 to 1555 in 69ffc0d
I would suggest doing the same and adding as part of the build |
That seems to help, thanks. :) |
Another thing we could do now that |
If you end up doing that, please ping me so I can revert rust-lang/miri-test-libstd#66. |
@RalfJung I don't think allowing all values for the Lines 87 to 97 in 69ffc0d
In fact I can see them in the latest CI run under the "Setup environment". If you want to completely silence them, allowing the lint ( |
This was enough though to make the tests pass again... 🤷 |
Oh, they are shown as warning, not hard errors. Sure, I can also allow the lint entirely. |
Actually, those warnings come from the sysroot build, not the local test build. So this will need a patch in https://github.com/RalfJung/rustc-build-sysroot/ . Also, (FWIW, debugging rustc invocations became a lot harder when they all grew to more than twice their size due to all these |
@RalfJung We did add the corresponding
We are tracking this in rust-lang/cargo#13941 |
Awesome, that seems to be enough for miri-test-libstd as well. :) |
Running std doctests in Miri results in tons of errors since today's nightly:
Interestingly, the in-tree test suite is working, so there's likely some special bootstrap magic somewhere that out-of-tree tests do not benefit from?
cc @Urgau
The text was updated successfully, but these errors were encountered: