Skip to content

Conversation

@JonatanWaern
Copy link
Contributor

git2 requires openssl-sys, which does not compile as portably as we'd like

Signed-off-by: Jonatan Waern jonatan.waern@intel.com

git2 requires openssl-sys, which does not compile as portably as we'd like

Signed-off-by: Jonatan Waern <jonatan.waern@intel.com>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the dependency on git2 due to portability concerns with its transitive dependency openssl-sys. The implementation switches from using git repository indexing to filesystem walking for finding files with specific extensions in tests.

Key Changes:

  • Replaced git2::Repository with walkdir::WalkDir for file discovery
  • Removed git2 from Cargo.toml dependencies
  • Updated function name from get_indexed_files_with_extension to get_files_with_extension

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/file_tests.rs Replaced git index-based file discovery with filesystem walking using walkdir
Cargo.toml Removed git2 dependency

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@JonatanWaern JonatanWaern merged commit 4ffa670 into main Nov 11, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants