rust/compiler/rustc_codegen_ssa
Dylan DPC 6e4c842305
Rollup merge of #84866 - petrochenkov:wholesome, r=Mark-Simulacrum
linker: Avoid library duplication with `/WHOLEARCHIVE`

Looks like in #72785 I misinterpreted how the `link.exe`'s `/WHOLEARCHIVE` flag works.

It's not necessary to write `mylib /WHOLEARCHIVE:mylib` to mark `mylib` as whole archive, `/WHOLEARCHIVE:mylib` alone is enough.

https://docs.microsoft.com/en-us/cpp/build/reference/wholearchive-include-all-library-object-files?view=msvc-160
2021-05-07 16:19:20 +02:00
..
src Rollup merge of #84866 - petrochenkov:wholesome, r=Mark-Simulacrum 2021-05-07 16:19:20 +02:00
Cargo.toml Use tempfile 2021-04-23 15:33:57 -07:00
README.md

Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.