about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-09-07 12:31:11 +0000
committerbors <bors@rust-lang.org>2021-09-07 12:31:11 +0000
commit73641cd23ba470c6b4dcd72b8d5f62d27c735254 (patch)
tree8c9e072ae0c9aa7bac43a01e978bb0f5fb93af4c /compiler/rustc_llvm/llvm-wrapper
parent385f8e2078b00282a7a7ffcd58aad17b405f57bf (diff)
parent70c7317d71c9b6627b4b39f3381449b1397135f7 (diff)
downloadrust-73641cd23ba470c6b4dcd72b8d5f62d27c735254.tar.gz
rust-73641cd23ba470c6b4dcd72b8d5f62d27c735254.zip
Auto merge of #88161 - michaelwoerister:fix-whole-archive-no-bundle, r=petrochenkov
Fix handling of +whole-archive native link modifier.

This PR fixes a bug in `add_upstream_native_libraries` that led to the `+whole-archive` modifier being ignored when linking in native libs.

~~Note that the PR does not address the situation when `+whole-archive` is combined with `+bundle`.~~
`@wesleywiser's` commit adds validation code that turns combining `+whole-archive` with `+bundle` into an error.

Fixes https://github.com/rust-lang/rust/issues/88085.

r? `@petrochenkov`
cc `@wesleywiser` `@gcoakes`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions