rust-lang / git2-rs

libgit2 bindings for Rust
https://docs.rs/git2
Apache License 2.0
1.71k stars 389 forks source link

Windows binary re-exported libgit2 APIs #853

Open ultimaweapon opened 2 years ago

ultimaweapon commented 2 years ago

Hi,

I'm using this library in my project https://github.com/locenv/locenv and the compiled binary for Windows is re-exported libgit2 API, which should not. The example binary that has this issue can be grab from https://github.com/locenv/locenv/actions/runs/2599501164. You should be able to view the exported API with any PE tool (e.g. Dependency Walker). Here is the screenshot from Explorer Suite that shown this issue:

Screenshot from 2022-07-02 06-23-52