djc/rustc-version-rs

parse rustc's llvm version too

Closed this issue · 1 comments

I'm trying to compile C code and link it to my Rust code at the LLVM IR level, to have that work well, clang's version should match rustc's version of LLVM. It would be useful if this crate would parse that.

djc commented

I'd be happy to review a PR to that effect! It should be fairly straightforward to add.