Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
only error with +whole-archive,+bundle for rlibs
Fixes #110912 Checking `flavor == RlibFlavor::Normal` was accidentally lost in 601fc8b #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.
- Loading branch information