We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cfdb89 commit c681a88Copy full SHA for c681a88
compiler/rustc_interface/src/passes.rs
@@ -648,7 +648,11 @@ fn write_out_deps(
648
649
if sess.binary_dep_depinfo() {
650
if let Some(ref backend) = sess.opts.debugging_opts.codegen_backend {
651
- files.push(backend.to_string());
+ if backend.contains('.') {
652
+ // If the backend name contain a `.`, it is the path to an external dynamic
653
+ // library. If not, it is not a path.
654
+ files.push(backend.to_string());
655
+ }
656
}
657
658
boxed_resolver.borrow_mut().access(|resolver| {
0 commit comments