Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Extraneous warnings about dead code #116

Closed
nrc opened this issue Dec 9, 2016 · 4 comments
Closed

Extraneous warnings about dead code #116

nrc opened this issue Dec 9, 2016 · 4 comments
Milestone

Comments

@nrc
Copy link
Member

nrc commented Dec 9, 2016

Non-pub functions (e.g., main) in the final crate. Due to rust-lang/rust#38273.

@nrc nrc added this to the Alpha #2 milestone Dec 9, 2016
@nrc
Copy link
Member Author

nrc commented Dec 10, 2016

We could also fix this by running with -Zno-trans rather than --crate-type=metadata, however, only the latter is stable.

@nrc
Copy link
Member Author

nrc commented Dec 29, 2016

Fixed by rust-lang/rust#38571 and a soon to be appearing Cargo PR

@sophiajt
Copy link

@nrc - is this fixed now?

@nrc
Copy link
Member Author

nrc commented Jan 31, 2017

Yes!

@nrc nrc closed this as completed Jan 31, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants