Skip to content
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

Workaround silent ignores of cargo features #25

Merged
merged 1 commit into from
Jul 10, 2018
Merged

Commits on Jul 10, 2018

  1. Workaround silent ignores of cargo features

    This tripped me up and caused me a couple of hours of confusion. Cargo does not seem to pass on features to subcrates in a virtual workspace, nor does it respond to something you’d expect, like `cargo test -features=“moniker/codespan”`. This meant that I actually comitted buggy code to the repository!
    
    I’m working around this for now using `--manifest-path` method - it’s pretty gross though. There is an issue at rust-lang/cargo#4942 recording other people’s experiences with this behaviour.
    brendanzab committed Jul 10, 2018
    Configuration menu
    Copy the full SHA
    89f5600 View commit details
    Browse the repository at this point in the history