libafl_{cc,derive}: Bump MSRV to 1.82 for home
crate update (#2775)
* libafl_{cc,derive}: Bump MSRV for `home` crate update With the upcoming 2024 edition we should also set `resolver = "3"` in the workspace's Cargo.toml to opt into a new MSRV-aware dependency resolver. This would fix the breakage we encountered with dependencies that bump their MSRV in a minor version update. * libafl_cc: apply clippy suggestion
This commit is contained in:
parent
b7c7465be4
commit
d9ddf82499
@ -9,7 +9,7 @@ readme = "README.md"
|
||||
license = "MIT OR Apache-2.0"
|
||||
keywords = ["fuzzing", "testing", "compiler"]
|
||||
edition = "2021"
|
||||
rust-version = "1.78"
|
||||
rust-version = "1.82"
|
||||
categories = [
|
||||
"development-tools::testing",
|
||||
"emulators",
|
||||
|
@ -317,7 +317,7 @@ where
|
||||
let new_distance = distance + successor_info.get_weight();
|
||||
let is_shorter = distances
|
||||
.get(successor)
|
||||
.map_or(true, |¤t| new_distance < current);
|
||||
.is_none_or(|¤t| new_distance < current);
|
||||
|
||||
if is_shorter {
|
||||
distances.insert(*successor, new_distance);
|
||||
|
@ -9,7 +9,7 @@ readme = "../README.md"
|
||||
license = "MIT OR Apache-2.0"
|
||||
keywords = ["fuzzing", "testing"]
|
||||
edition = "2021"
|
||||
rust-version = "1.78"
|
||||
rust-version = "1.82"
|
||||
categories = [
|
||||
"development-tools::testing",
|
||||
"emulators",
|
||||
|
Loading…
x
Reference in New Issue
Block a user