Fix fs-lock error on nightly (#2059)

* Fix fs-lock error on nightly

Since File::*lock* API is stablised on 1.87, it overrides fs4::fs_std::FileExt

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Fix other fs-lock method

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Fix unit-tests when no test is run

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

---------

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
Jiahao XU 2025-02-22 21:21:02 +11:00 committed by GitHub
parent ac0e34cc77
commit 395a586265
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View file

@ -257,7 +257,7 @@ e2e-tests: e2e-test-live e2e-test-manifest-path e2e-test-git e2e-test-other-repo
unit-tests: print-env
cargo test --no-run --target {{target}}
cargo nextest run --target {{target}} {{cargo-nextest-additional-args}}
cargo nextest run --target {{target}} --no-tests=pass {{cargo-nextest-additional-args}}
cargo test --doc --target {{target}}
test: unit-tests build e2e-tests