There was an error while loading. Please reload this page.
1 parent 6906167 commit 4b9dc49Copy full SHA for 4b9dc49
compiler/rustc_interface/src/util.rs
@@ -421,6 +421,7 @@ impl CodegenBackend for DummyCodegenBackend {
421
.crate_types
422
.iter()
423
.find(|&&crate_type| crate_type != CrateType::Rlib)
424
+ && outputs.outputs.should_link()
425
{
426
#[allow(rustc::untranslatable_diagnostic)]
427
#[allow(rustc::diagnostic_outside_of_impl)]
0 commit comments