rust/tests/ui/native-library-link-flags
Be Wilson 72e29da3ec stabilize combining +bundle and +whole-archive link modifiers
Currently, combining +bundle and +whole-archive works only with
 #![feature(packed_bundled_libs)]
This crate feature is independent of the -Zpacked-bundled-libs
command line option.

This commit stabilizes the #![feature(packed_bundled_libs)] crate
feature and implicitly enables it only when the +bundle and
+whole-archive link modifiers are combined. This allows rlib
crates to use the +whole-archive link modifier with native
libraries and have all symbols included in the linked library
to be included in downstream staticlib crates that use the rlib as
a dependency. Other cases requiring the packed_bundled_libs
behavior still require the -Zpacked-bundled-libs command line
option, which can be stabilized independently in the future.

Per discussion on https://github.com/rust-lang/rust/issues/108081
there is no risk of regression stabilizing the crate feature in
this way because the combination of +bundle,+whole-archive link
modifiers was previously not allowed.
2023-08-15 15:51:18 -05:00
..
empty-kind-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
empty-kind-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
empty-kind-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
empty-kind-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
link-arg-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
link-arg-error.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
link-arg-from-rs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
link-arg-from-rs.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
modifiers-override-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
modifiers-override-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
modifiers-override-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
modifiers-override-3.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
modifiers-override.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
modifiers-override.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
msvc-non-utf8-output.rs Further normalize msvc-non-utf8-ouput 2023-05-05 18:54:06 +01:00
msvc-non-utf8-output.stderr Further normalize msvc-non-utf8-ouput 2023-05-05 18:54:06 +01:00
suggest-libname-only-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-libname-only-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-libname-only-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-libname-only-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00