You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Hi guys, I just updated rustc to the latest nightly version and I found some bugs when compiling:
Previous versions of nigntly have worked fine.
The text was updated successfully, but these errors were encountered: