cargo-binstall/e2e-tests
Jiahao XU ab4da7f059
Fix self-update on windows (#712)
Fixed #702


* Add new dep windows v0.44.0 for windows only
* Add regression test for #702
* Impl `win::replace_file`
* Use `ReplaceFileW` on windows if `fs::rename` in `fs::atomic_install` fails
* Improve logging and err messages
* Add more regression tests
* Make `BinFile::install_link` atomic: Do not remove file if dst exists
* Fallback to `ReplaceFileW` in `fs::atomic_symlink_file`
* Refactor: Extract new fn `fs::persist`
* Use `fs::persist` instead of `TempFile::persist` in `fs::atomic_install`, which fallbacks to `ReplaceFileW` on windows

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2023-01-17 18:05:07 +11:00
..
fake-cargo Migrate CI and builds to Just, add "full" builds (#660) 2023-01-08 16:27:36 +11:00
manifests Migrate CI and builds to Just, add "full" builds (#660) 2023-01-08 16:27:36 +11:00
live.sh Migrate CI and builds to Just, add "full" builds (#660) 2023-01-08 16:27:36 +11:00
manifest-path.sh Migrate CI and builds to Just, add "full" builds (#660) 2023-01-08 16:27:36 +11:00
other-repos.sh Migrate CI and builds to Just, add "full" builds (#660) 2023-01-08 16:27:36 +11:00
self-upgrade-no-symlink.sh Fix self-update on windows (#712) 2023-01-17 18:05:07 +11:00
strategies.sh Fix FileLock for .crates.toml not dropped (#697) 2023-01-12 18:45:36 +13:00
tls.sh Migrate CI and builds to Just, add "full" builds (#660) 2023-01-08 16:27:36 +11:00
upgrade.sh Migrate CI and builds to Just, add "full" builds (#660) 2023-01-08 16:27:36 +11:00
version-syntax.sh Migrate CI and builds to Just, add "full" builds (#660) 2023-01-08 16:27:36 +11:00