-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Cargo sometimes doesn't ungate crate features #5362
Comments
@CAD97 currently, the Am I correct that |
Yes, In the mean time until |
221: Rayon ParallelIterator support for CharRange r=behnam a=CAD97 Also, could you see if rust-lang/cargo#5362 happens for you? Co-authored-by: Christopher Durham <[email protected]>
I was trying to add optional rayon ParIter support to unic-char-range, and ran into this situation. Adding the optional dependency, a
#[cfg(feature = "rayon")] mod par_iter;
tolib.rs
, and acompile_error!
to the new file led to this interesting situation.Annoyingly, I haven't been able to reproduce this behavior in a smaller setup. You can check out Unic with the code reproducing this error, but I attempted to reproduce what I thought might be triggering it -- a root workspace with a different feature set from the end package -- but it didn't.
The text was updated successfully, but these errors were encountered: