denzp / rustc-llvm-proxy

Proxy LLVM calls into Rust own shared library in runtime
MIT License
32 stars 13 forks source link

Robust method for finding the host arch & Expose the rest of the llvm c api #6

Closed jdtatz closed 5 years ago

jdtatz commented 5 years ago

Implemented a few more ways to find the host arch for finding the shared codegen llvm lib, to help handle the case when using one of the daily builds, e.g "nightly-2018-11-30-x86_64-unknown-linux-gnu". Also exposed the rest of the llvm c api from llvm-sys.

denzp commented 5 years ago

Thanks, overall it looks good! Could you please check and rebase over the latest commit? I've also made some adjustments recently.

denzp commented 5 years ago

I'm also thinking: it would be useful to add an entry into the Travis matrix to test the case with specified date. But perhaps we can address this in another PR / commit.

denzp commented 5 years ago

Thanks a lot! I've published v0.1.9 to crates.io.