Skip to content

git: Fix build - #16163

Merged
DavidKorczynski merged 4 commits into
google:masterfrom
arthurscchan:fix-git-fuzzing
Sep 22, 2026
Merged

DavidKorczynski merged 4 commits into
google:masterfrom
arthurscchan:fix-git-fuzzing

Conversation

@arthurscchan

@arthurscchan arthurscchan commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Git is in the middle of migrating to Rust. It currently compiles two main static libraries, libgit.a and libgitcore.a. The two reference each other, but the latter is only built when Rust is enabled. This migration broke the current OSS-Fuzz build, because libgitcore.a was missing when the fuzzers were linked. This PR fixes that by building the project on the Rust base image and including both static libraries, so the OSS-Fuzz build for git succeeds again.

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
@github-actions

Copy link
Copy Markdown

arthurscchan is either the primary contact or is in the CCs list of projects/git.
arthurscchan has previously contributed to projects/git. The previous PR was #14673

@arthurscchan
arthurscchan marked this pull request as ready for review September 22, 2026 08:37
@DavidKorczynski
DavidKorczynski merged commit ecd7dc0 into google:master Sep 22, 2026
21 checks passed
DavidKorczynski pushed a commit that referenced this pull request Sep 28, 2026
This PR reverts the language change for project git in #16163. Although
project git is in the middle of the rust migration, most of the code is
still in C/C++, so keeping the language in project.yaml preserve the
original coverage report.

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants