aboutsummaryrefslogtreecommitdiff
path: root/test cases/rust/17 staticlib link staticlib
AgeCommit message (Collapse)AuthorFilesLines
2023-04-21rust: Add new `rust_dependency_map` target configurationSebastian Dröge2-2/+2
This allows changing the crate name with which a library ends up being available inside the Rust code, similar to cargo's dependency renaming feature or `extern crate foo as bar` inside Rust code.
2022-02-02ninjabackend: treat link_whole_targets like link_targets for Rust targetsZach Reizner5-0/+27
For static library crates that depend on other internal static library crates, all link_with targets get promoted to link_whole targets. Due to a bug, only link_with targets are considered when generating a Rust target for the ninja backend. This made it impossible to link a Rust static library with another internal Rust static library. This change fixes that issue by chaining link_whole_targets with link_targets, just like many other languages within the ninja backend.