Revert "Use callback-based interface to load ThinLTO import data into rustc."
This reverts commit e045a6cd8c
.
This commit is contained in:
parent
99140df0bd
commit
b822e699c3
4 changed files with 94 additions and 56 deletions
|
@ -1360,7 +1360,7 @@ fn load_thin_lto_imports(sess: &Session) -> lto::ThinLTOImports {
|
|||
);
|
||||
|
||||
if !path.exists() {
|
||||
return lto::ThinLTOImports::new();
|
||||
return lto::ThinLTOImports::new_empty();
|
||||
}
|
||||
|
||||
match lto::ThinLTOImports::load_from_file(&path) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue