Skip to content

cargo check emits warnings about --crate-type=metadata being deprecated #3493

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
japaric opened this issue Jan 4, 2017 · 2 comments
Closed

Comments

@japaric
Copy link
Member

japaric commented Jan 4, 2017

As of nightly-2017-01-04:

$ cargo new --lib foo && cd $_

$ cargo check
   Compiling foo v0.1.0 (file:///home/japaric/tmp/foo)
warning: --crate-type=metadata is deprecated, prefer --emit=metadata

    Finished debug [unoptimized + debuginfo] target(s) in 0.9 secs

$ rustc -V
rustc 1.16.0-nightly (468227129 2017-01-03)

$ cargo -V
cargo 0.17.0-nightly (71e996e 2017-01-02)

cc @alexcrichton @nrc

@nrc
Copy link
Member

nrc commented Jan 4, 2017

This should be fixed by #3468 (which is waiting on a nightly to work in order to pass tests, plus some other tests getting tweaked).

@alexcrichton
Copy link
Member

Ah yeah this'll be fixed with a new nightly, so closing.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants