diff --git a/cli/loader/src/lib.rs b/cli/loader/src/lib.rs index 13b4fabf..31ef448c 100644 --- a/cli/loader/src/lib.rs +++ b/cli/loader/src/lib.rs @@ -846,7 +846,7 @@ impl Loader { format!("Failed to execute the C compiler with the following command:\n{command:?}") })?; - lock_file.unlock()?; + FileExt::unlock(lock_file)?; fs::remove_file(lock_path)?; if output.status.success() {