Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rules_rust: make it possible to use non-staticlib rust_library target…
…s in c++ deps ld can handle .rlib archives, since they're really just standard ar(1) archives like a .a file with some extra metadata. As a result, we can avoid using staticlib crates when building mixed C++/Rust binaries. This doesn't correctly handle libstd et al (yet), or deal with some generated symbols that rustc produces when it drives the linking step, but it's a start.
- Loading branch information