mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Add missing git feature dep to preserve_executable_bit test (#12850)
## Summary Without the `git` feature, it fails with: ``` error: Failed to initialize Git repository at `/home/mgorny/.local/share/uv/tests/.tmp01wGGK/temp/preserve_executable_bit` stdout: stderr: error: `git` operations are not allowed — are you missing a cfg for the `git` feature? ``` ## Test Plan cargo test --features python --profile=fast-build --no-default-features
This commit is contained in:
parent
9904c47daf
commit
061751f195
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ fn built_by_uv_editable() -> Result<()> {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
#[cfg(unix)]
|
||||
#[cfg(all(unix, feature = "git"))]
|
||||
#[test]
|
||||
fn preserve_executable_bit() -> Result<()> {
|
||||
use std::io::Write;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue