fix compile errors

This commit is contained in:
Folkert 2021-02-24 23:36:42 +01:00
parent da089af4b9
commit e16f6f8c49
3 changed files with 2 additions and 2 deletions

1
Cargo.lock generated
View file

@ -2928,6 +2928,7 @@ version = "0.1.0"
dependencies = [
"bumpalo",
"crossbeam",
"indoc",
"inlinable_string",
"maplit",
"num_cpus",

View file

@ -30,5 +30,6 @@ num_cpus = "1"
tempfile = "3.1.0"
pretty_assertions = "0.5.1"
maplit = "1.0.1"
indoc = "0.3.3"
quickcheck = "0.8"
quickcheck_macros = "0.8"

View file

@ -1620,8 +1620,6 @@ fn update<'a>(
match header_extra {
App { to_platform } => {
debug_assert!(matches!(state.platform_path, PlatformPath::NotSpecified));
debug_assert!(header.is_root_module);
state.platform_path = PlatformPath::Valid(to_platform.clone());
}
PkgConfig { .. } => {