[cfe-dev] Distributing libclang-cpp.dll for Windows in the pre-built downloads

Jan Ryšavý via cfe-dev cfe-dev at lists.llvm.org
Wed Mar 18 01:18:56 PDT 2020


Including pre-build libtooling DLL in Windows binaries would be really helpful.

Right now we are building libtooling static libraries from the source code, it takes
several hours (debug/release/x86/x64 targets).

Best regards
Jan



On 18.03.2020 1:17, Stephen Crane via cfe-dev wrote:
> Hi all,
> 
> I'm working to transition rust-bindgen from libclang to using the
> clang libtooling C++ interface directly. This is unfortunately
> necessary because there is a great deal of details about AST nodes
> that we need but isn't exposed by libclang. I'm comfortable using and
> maintaining a library interface on top of the C++ APIs, that's not a
> problem.
> 
> However, I am hitting a wall on distribution for Windows. Would it at
> all a possibility to include the new libclang-cpp library and headers
> on Windows in the pre-built binaries? The only real alternative I see
> is making users build LLVM+Clang from source, which seems prohibitive
> in many cases, or distributing my own binary build, which I prefer not
> to resort to for a single open-source Rust tool.
> 
> Adding C++ libraries on Windows potentially introduces issues by
> exposing the C++ ABI directly,  so I think we would have to specify
> which C++ library and toolchain each release was built with.
> 
> Thanks,
> Stephen
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
> 


More information about the cfe-dev mailing list