about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-05-07 16:19:20 +0200
committerGitHub <noreply@github.com>2021-05-07 16:19:20 +0200
commit6e4c842305fc8370de730bf919a6fd1fc4aca962 (patch)
tree576006a607eaff1ba756975bd823208c9c891e40 /compiler/rustc_mir/src/transform/coverage/debug.rs
parent8f0b1863d0617be844112778e77544a5bcee79cd (diff)
parentfb9feb35eda218133e4fb8944e66d41b904fc9f8 (diff)
downloadrust-6e4c842305fc8370de730bf919a6fd1fc4aca962.tar.gz
rust-6e4c842305fc8370de730bf919a6fd1fc4aca962.zip
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
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions