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

--exclude doesn't warn when excluding non-existing packages #6678

Closed
Nemo157 opened this issue Feb 18, 2019 · 0 comments · Fixed by #6679
Closed

--exclude doesn't warn when excluding non-existing packages #6678

Nemo157 opened this issue Feb 18, 2019 · 0 comments · Fixed by #6679
Assignees
Labels
C-bug Category: bug

Comments

@Nemo157
Copy link
Member

Nemo157 commented Feb 18, 2019

Steps

→ cargo new foo
     Created binary (application) `foo` package
→ cd foo
→ cargo build --all --exclude bar
   Compiling foo v0.1.0 (/tmp/tmp.F4Gdb3Jlcr/foo)
    Finished dev [unoptimized + debuginfo] target(s) in 0.37s

Possible Solution(s)
Emit a warning that bar is not a known package in this workspace.

Notes

Output of cargo version: cargo 1.34.0-nightly (245818076 2019-01-27)

@Nemo157 Nemo157 added the C-bug Category: bug label Feb 18, 2019
@dwijnand dwijnand self-assigned this Feb 18, 2019
bors added a commit that referenced this issue Feb 20, 2019
Warn when excluding non-existing packages

Fixes #6678
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants