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
The build script feature flag has unfortunately been a headache, but it was made that way to avoid breaking changes in the 1.x release series. You can now use the explicit std feature since 1.5.2 (but there is no explicit way to say "no std").
Seems like the build.rs is gone in master - yay, rooting for a new release :)
I just ran into this issue. Indexmap 1.9.1 is a deep dependency and our CI failed when using rustc flags that ensure our code-quality requirements. If you want to see what I mean, run this cargo new test && cd test && cargo add dicom && RUSTFLAGS="-D missing_docs" cargo build produces a documentation unrelated compiler error because of build.rs. Switching to normal Cargo.toml features, i.e. master branch, fixes the problem.
Somehow the missing_docs makes the build.rs believe std is not available... (I guess because the indexmap crate itself doesn't build with that flag)
Anyways workaround for other CI users export CARGO_FEATURE_STD="std", helps others hopefully.
Instead we can just use features.
FYI: intellij-rust/intellij-rust#4631
The text was updated successfully, but these errors were encountered: