This repository has been archived by the owner on Jul 30, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Specify
autobins = false
in Cargo.toml
`cargo build` warns: warning: An explicit [[bin]] section is specified in Cargo.toml which currently disables Cargo from automatically inferring other binary targets. This inference behavior will change in the Rust 2018 edition and the following files will be included as a binary target: * /Users/kivikakk/Code/Nicoretti/xxd-rs/src/bin/main.rs * /Users/kivikakk/Code/Nicoretti/xxd-rs/src/bin/cli.rs This is likely to break cargo build or cargo test as these files may not be ready to be compiled as a binary target today. You can future-proof yourself and disable this warning by adding `autobins = false` to your [package] section. You may also move the files to a location where Cargo would not automatically infer them to be a target, such as in subfolders. For more information on this warning you can consult rust-lang/cargo#5330
- Loading branch information