summaryrefslogtreecommitdiff
path: root/libbindgen/src/codegen/mod.rs
diff options
context:
space:
mode:
authorNick Fitzgerald <fitzgen@gmail.com>2016-12-21 16:07:09 -0800
committerNick Fitzgerald <fitzgen@gmail.com>2016-12-21 16:07:09 -0800
commit3fa229919196d2be4610b2e2f84d0f05f0be8c09 (patch)
treeb9420aab8d22344444d75d5378b18fe38c2aa69a /libbindgen/src/codegen/mod.rs
parent96e5d770eccb9b56b01aa1fd30e04e885d107ad0 (diff)
Ensure that we only load `libclang` once across all threads, and that it is not prematurely dropped.
Honestly, I'm still not 100% sure what the root cause of the Clang and LLVM issues I was seeing were, but when I ensure that we only have one libclang loaded across all threads and that it is never dropped, the assertions go away. Fixes #350.
Diffstat (limited to 'libbindgen/src/codegen/mod.rs')
0 files changed, 0 insertions, 0 deletions