Files
rust/compiler/rustc_codegen_ssa
Be Wilson 428ac2a66e only error with +whole-archive,+bundle for rlibs
Fixes https://github.com/rust-lang/rust/issues/110912

Checking `flavor == RlibFlavor::Normal` was accidentally lost in
601fc8b36b
https://github.com/rust-lang/rust/pull/105601

That caused combining +whole-archive and +bundle link modifiers on
non-rlib crates to fail with a confusing error message saying that
combination is unstable for rlibs. In particular, this caused the
build to fail when +whole-archive was used on staticlib crates, even
though +whole-archive effectively does nothing on non-bin crates because
the final linker invocation is left to an external build system.
2023-05-06 11:12:53 -04:00
..
2023-02-06 17:40:18 +03:00
2023-04-10 22:02:52 +02:00
2020-08-30 18:45:07 +03:00