Closed
Description
Problem
Cargo build is breaking when a build.rs file is present in a project with a git repo using split indexes.
$ cargo build
error: failed to determine package fingerprint for build script for split_index_bug v0.1.0 (/.../split_index_bug)
Caused by:
failed to determine the most recently modified file in /.../split_index_bug
Caused by:
failed to determine list of files in /.../split_index_bug
Caused by:
failed to open git index at /.../split_index_bug/.git/
Caused by:
unsupported mandatory extension: 'link'; class=Index (10)
Steps to Reproduce
I have made a small repo where you can reproduce the issue https://github.com/Samangan/cargo-split-index-bug
Version
cargo 1.56.0 (4ed5d137b 2021-10-04)
release: 1.56.0
commit-hash: 4ed5d137baff5eccf1bae5a7b2ae4b57efad4a7d
commit-date: 2021-10-04
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Nominated