mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-18 19:06:14 +00:00

Move add_rlib and add_native_library to cg_ssa This deduplicates logic between codegen backends. cc `@antoyo` and `@khyperia` for cg_gcc and rust-gpu.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.