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

Can't finish compiling on nightly version of rust #686

Open
rikonaka opened this issue May 6, 2024 · 0 comments
Open

Can't finish compiling on nightly version of rust #686

rikonaka opened this issue May 6, 2024 · 0 comments

Comments

@rikonaka
Copy link
Contributor

rikonaka commented May 6, 2024

Hi guys, I just updated rustc to the latest nightly version and I found some bugs when compiling:

rustc 1.80.0-nightly (9c9b56879 2024-05-05)

Previous versions of nigntly have worked fine.

error: unexpected `cfg` condition value: `benchmark`
   --> libpnet/pnet_packet/src/util.rs:240:17
    |
240 | #[cfg(all(test, feature = "benchmark"))]
    |                 ^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `default`, `std`
    = help: consider adding `benchmark` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
note: the lint level is defined here
   --> libpnet/pnet_packet/src/lib.rs:11:9
    |
11  | #![deny(warnings)]
    |         ^^^^^^^^
    = note: `#[deny(unexpected_cfgs)]` implied by `#[deny(warnings)]`

error: could not compile `pnet_packet` (lib) due to 1 previous error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant