diff --git a/src/librustc_codegen_llvm/back/link.rs b/src/librustc_codegen_llvm/back/link.rs index 86cef587d5b..f29b4d95b28 100644 --- a/src/librustc_codegen_llvm/back/link.rs +++ b/src/librustc_codegen_llvm/back/link.rs @@ -655,7 +655,7 @@ pub fn linker_and_flavor(sess: &Session) -> (PathBuf, LinkerFlavor) { return ret; } - sess.fatal("Not enough information provided to determine how to invoke the linker"); + bug!("Not enough information provided to determine how to invoke the linker"); } // Create a dynamic library or executable