Cargo errors out when build script is not checked into git repository #15174
Labels
A-build-scripts
Area: build.rs scripts
A-git
Area: anything dealing with git
A-rebuild-detection
Area: rebuild detection and fingerprinting
C-bug
Category: bug
S-triage
Status: This issue is waiting on initial triage.
Problem
I am trying to build an ArchLinux package. That means, the package build for ArchLinux is part of the git repository, but the actual source code gets downloaded from a tarball and placed into a subdirectory. Now I am trying to build
probe-rs-tools 0.27.0
which has a build script. I got this funny output:The repository at
/src
is definitely not bare, but it definitely also does not contain any files within/src/src
where the rust source code lives. I do not understand why cargo even cares about the VCS or searches beyond the topmostCargo.toml
which lives in/src/src
.Steps
Possible Solution(s)
No response
Notes
No response
Version
The text was updated successfully, but these errors were encountered: