rust/src/test/run-make
bors 73641cd23b 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`
2021-09-07 12:31:11 +00:00
..
const_fn_mir Revert "Revert "Auto merge of #83417 - erikdesjardins:enableremovezsts, r=oli-obk"" 2021-08-19 22:28:32 -04:00
emit-named-files Add test for --emit TYPE=path 2021-05-28 22:52:59 -07:00
emit-path-unhashed Add test showing different KIND parameters change hash 2021-06-21 17:22:35 -07:00
emit-shared-files change SourceSerifPro to SourceSerif4 in emit-shared-files test 2021-04-05 10:51:37 +02:00
env-dep-info proc_macro: Add API for tracked access to environment variables 2020-07-26 13:37:37 +03:00
fmt-write-bloat Add test to check for fmt::write bloat. 2020-11-29 11:38:51 +01:00
incr-foreign-head-span Don't use guess_head_span in predicates_of for foreign span 2021-08-27 23:19:49 -05:00
incr-prev-body-beyond-eof test: run-make: skip tests on unsupported platforms 2021-03-28 16:50:56 +01:00
incremental-session-fail Fix incremental-session-fail to work when run as root. 2021-05-29 08:54:51 -07:00
issue-36710 test: run-make: skip tests on unsupported platforms 2021-03-28 16:50:56 +01:00
issue-71519 gcc-lld mvp 2021-06-10 17:10:40 +10:00
issue-83112-incr-test-moved-file test: run-make: skip tests on unsupported platforms 2021-03-28 16:50:56 +01:00
issue-85019-moved-src-dir Add --target flag to issue-85019-moved-src-dir 2021-08-15 17:37:26 -05:00
libtest-thread-limit [libtest] Run the test synchronously when hitting thread limit 2021-02-17 21:38:25 +08:00
llvm-outputs add test for issue #21335 2018-11-26 12:41:43 -05:00
native-link-modifier-whole-archive Add test case for no-bundle/whole-archive native libs linking. 2021-09-07 14:14:08 +02:00
raw-dylib-alt-calling-convention Add support for raw-dylib with stdcall, fastcall functions on i686-pc-windows-msvc. 2021-07-09 12:04:54 -07:00
raw-dylib-c Add support for raw-dylib with stdcall, fastcall functions on i686-pc-windows-msvc. 2021-07-09 12:04:54 -07:00
rustc-macro-dep-files expand: Stop using nonterminals for passing tokens to attribute and derive macros 2020-07-01 13:13:21 +03:00
static-pie Fix src/test/run-make/static-pie/test-aslr.rs 2020-07-13 11:33:03 +02:00
thumb-none-cortex-m Provide bootstrap tools with RUSTC in environment 2020-09-20 16:39:13 -04:00
thumb-none-qemu rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
track-path-dep-info add track_path::path fn for proc-macro usage 2021-07-02 07:13:19 +02:00
unstable-flag-required Update tests 2021-08-24 11:39:22 -04:00
wasm-abi rustc: Add a new wasm ABI 2021-04-08 08:03:18 -07:00
wasm-custom-section Upgrade Emscripten targets to use upstream LLVM backend 2019-10-16 17:06:48 -07:00
wasm-custom-sections-opt Upgrade Emscripten targets to use upstream LLVM backend 2019-10-16 17:06:48 -07:00
wasm-export-all-symbols Check for the entry kind 2020-01-08 10:05:44 +01:00
wasm-import-module Update tests for extern block linting 2021-01-13 07:49:16 -05:00
wasm-panic-small Use Cell::take in a couple places 2020-04-26 11:50:53 +02:00
wasm-spurious-import Add regression test for a spurious import 2021-08-30 12:54:54 +02:00
wasm-stringify-ints-small Change opt-level from 2 back to 3 2020-01-30 15:40:14 -05:00
wasm-symbols-different-module Fix handling of wasm import modules and names 2019-12-16 14:43:46 -08:00
wasm-symbols-not-exported Upgrade Emscripten targets to use upstream LLVM backend 2019-10-16 17:06:48 -07:00
wasm-symbols-not-imported Upgrade Emscripten targets to use upstream LLVM backend 2019-10-16 17:06:48 -07:00
x86_64-fortanix-unknown-sgx-lvi rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
git_clone_sha1.sh Remove licenses 2018-12-25 21:08:33 -07:00