mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-25 06:40:03 +00:00
Fix FileLock
for .crates.toml
not dropped (#697)
* Fix `FileLock` for `.crates.toml` not dropped Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * Rm unneccessary ret type annotation for the closure Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * Add regression test Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
87854d8cc4
commit
1be25f81b5
2 changed files with 54 additions and 30 deletions
|
@ -24,3 +24,6 @@ if [ "$exit_code" != 94 ]; then
|
|||
echo "Expected exit code 94, but actual exit code $exit_code"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
## Test compile-only strategy
|
||||
"./$1" binstall --no-confirm --strategies compile cargo-quickinstall
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue