Skip to content
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

Fix advapi32 linking on Windows #1143

Merged
merged 1 commit into from
Mar 17, 2025
Merged

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Mar 17, 2025

This fixes the build on Windows on the latest nightly. Since rust-lang/rust#138233, Rust no longer links advapi32 via the standard library. However, libgit2 uses several functions from advapi32, so we need to explicitly include it here.

Fixes #1142

@rustbot rustbot added the S-waiting-on-review Status: Waiting on review label Mar 17, 2025
@ehuss ehuss added this pull request to the merge queue Mar 17, 2025
Merged via the queue into rust-lang:master with commit b6d5975 Mar 17, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Waiting on review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Windows build does not link with Advapi32.lib
2 participants