Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-04-21 | rust: Add new `rust_dependency_map` target configuration | Sebastian Dröge | 2 | -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-02 | ninjabackend: treat link_whole_targets like link_targets for Rust targets | Zach Reizner | 5 | -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. |