-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:as-a-librarylibclang and C++ APIlibclang and C++ API
Description
Bugzilla Link | 45809 |
Resolution | FIXED |
Resolved on | May 07, 2020 11:12 |
Version | 10.0 |
OS | Windows NT |
Blocks | #44654 |
Reporter | LLVM Bugzilla Contributor |
CC | @jkorous-apple,@zygoloid,@tstellar |
Fixed by commit(s) | 02b3033 db810b6 |
Extended Description
After r371787 [0], when Rust's bindgen uses libclang, it fails with "no targets are registered" [1].
This only happens when we build LLVM with -DLLVM_LINK_LLVM_DYLIB=ON
.
jkorous: I'm not clear on why LLVMSupport
was added to libclang's CMakeLists.txt. If I remove that line, the code still compiles, and this bug goes away. I'm not familiar with this part of the code though -- do you have any idea what might be going on?
[0] https://reviews.llvm.org/rL371787
[1]
Error = "Unable to find target for this triple (no targets are registered)"; |
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:as-a-librarylibclang and C++ APIlibclang and C++ API