diff --git a/Cargo.toml b/Cargo.toml index 7b32574d..f4989290 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,6 @@ [workspace] members = ["cli", "lib", "xtask"] +resolver = "2" [profile.dev] opt-level = 1 # No optimizations are too slow for us. diff --git a/lib/src/privtests.rs b/lib/src/privtests.rs index d1c996a1..ea541d2e 100644 --- a/lib/src/privtests.rs +++ b/lib/src/privtests.rs @@ -157,8 +157,6 @@ fn test_install_filesystem(image: &str, blockdev: &Utf8Path) -> Result<()> { cmd!(sh, "umount -R {mountpoint}").run()?; - drop(mountpoint); - Ok(()) }