mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-23 21:54:16 +00:00
Emit warning while outputs is not exe and prints linkage info cc #137384 ```bash $ rustc +stage1 /dev/null --print native-static-libs --crate-type staticlib --emit metadata warning: skipping link step due to conflict: cannot output linkage information without emitting executable note: consider emitting executable to print link information warning: 1 warning emitted ```
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.