Description
Running std doctests in Miri results in tons of errors since today's nightly:
0.000010 ---- library/core/src/../../portable-simd/crates/core_simd/src/vector.rs - core_simd::vector::Simd<T,N>::store_select (line 640) stdout ----
0.000008 error: unexpected `cfg` condition value: `as_crate`
0.000010 --> library/core/src/../../portable-simd/crates/core_simd/src/vector.rs:642:7
0.000008 |
0.000011 5 | #[cfg(feature = "as_crate")] use core_simd::simd;
0.000010 | ^^^^^^^^^^^^^^^^^^^^
0.000011 |
0.000013 = note: expected values for `feature` are: `debug_refcell`, `panic_immediate_abort`
0.000007 = help: consider adding `as_crate` as a feature in `Cargo.toml`
0.000011 = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
0.000007 note: the lint level is defined here
0.000010 --> library/core/src/../../portable-simd/crates/core_simd/src/vector.rs:638:9
0.000008 |
0.000010 1 | #![deny(warnings)]
0.000008 | ^^^^^^^^
0.000010 = note: `#[deny(unexpected_cfgs)]` implied by `#[deny(warnings)]`
0.000010
0.000010 error: unexpected `cfg` condition value: `as_crate`
0.000008 --> library/core/src/../../portable-simd/crates/core_simd/src/vector.rs:643:11
0.000010 |
0.000008 6 | #[cfg(not(feature = "as_crate"))] use core::simd;
0.000010 | ^^^^^^^^^^^^^^^^^^^^
0.000008 |
0.000010 = note: expected values for `feature` are: `debug_refcell`, `panic_immediate_abort`
0.000008 = help: consider adding `as_crate` as a feature in `Cargo.toml`
0.000011 = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
0.000009
0.000010 error: aborting due to 2 previous errors
0.000008
0.000010 Couldn't compile the test.
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
Metadata
Metadata
Assignees
Labels
No labels