-
Notifications
You must be signed in to change notification settings - Fork 413
error: unknown type name 'GIT_BEGIN_DECL' #723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hm. We can definitely make a new release, but I am a bit surprised that it would make a difference because there haven't been any changes that would necessarily affect the build of libgit2-sys here. (Changes listed here.) The only change that might be relevant is the vendored-openssl change, but that should only affect the linking of openssl, and only if you are using that feature (are you?). I also wouldn't expect the use of openssl to change the parsing of a header. Looking at the code, I don't see how that can fail. The top of Does using I'm also wondering, do you maybe have libgit2 installed via homebrew (or anywhere else)? I'm just wondering, if maybe similar to #721 there is some interaction with the system-installed copy. |
Yeah, that's weird! The git dependency from the tag works, the crates.io dep doesn't. |
Oh, nevermind. |
The version of libgit2-sys on crates.io has stopped building on my machine (upgrade to macOS 12 beta may have been related) for an odd reason:
GIT_BEGIN_DECL
is undefined.The issue is reliably reproducible, with both Apple clang and Homebrew gcc 11.
The problem appears to be fixed in the latest git of git2-rs (as of 7d12405), i.e:
doesn't build, but:
builds fine.
Therefore, can you release the latest changes?
The text was updated successfully, but these errors were encountered: