mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 02:40:40 +00:00

De-duplicate consecutive libs when printing native-static-libs This PR adds a de-duplicate step just before printing the `native-static-libs`. This step de-duplicates all the consecutive libs based only on the relevant comparison elements (this exclude spans, ast elements, ...). Fixes https://github.com/rust-lang/rust/issues/113209
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.