]> git.lizzy.rs Git - rust.git/commit
Move finalize_session_directory call out of cg_llvm
authorbjorn3 <bjorn3@users.noreply.github.com>
Sat, 10 Oct 2020 13:20:35 +0000 (15:20 +0200)
committerbjorn3 <bjorn3@users.noreply.github.com>
Sat, 10 Oct 2020 13:20:35 +0000 (15:20 +0200)
commitf141acf0678139ac31375d02feebcc2be220715b
treea3968278deb2a283acf8bb6718f67f940ee31baf
parent69f45cd96517b4e380044b7d4593899e77afc0ae
Move finalize_session_directory call out of cg_llvm

This causes it to be called even when passing `-Zno-link`, when linking
fails or when neither `--emit link` nor `--emit metadata` is used.
compiler/rustc_codegen_llvm/src/lib.rs
compiler/rustc_codegen_ssa/src/back/write.rs
compiler/rustc_codegen_ssa/src/lib.rs
compiler/rustc_interface/src/queries.rs