linker: Fix weak lang item linking with combination windows-gnu + LLD + LTO
This commit is contained in:
@@ -2690,7 +2690,7 @@ fn relevant_lib(sess: &Session, lib: &NativeLib) -> bool {
|
||||
}
|
||||
}
|
||||
|
||||
fn are_upstream_rust_objects_already_included(sess: &Session) -> bool {
|
||||
pub(crate) fn are_upstream_rust_objects_already_included(sess: &Session) -> bool {
|
||||
match sess.lto() {
|
||||
config::Lto::Fat => true,
|
||||
config::Lto::Thin => {
|
||||
|
||||
Reference in New Issue
Block a user