Skip to content

Commit c24d78f

Browse files
authored
Rollup merge of rust-lang#53470 - bjorn3:warn_metadata_errors, r=alexcrichton
Warn about metadata loader errors Output when writing corrupting to libcore.rlib ``` warning: no metadata found: failed to read rlib metadata in '/Users/bjorn/Documents/rust_fork/build/x86_64-apple-darwin/stage1-std/x86_64-apple-darwin/release/deps/libcore-857d662d379c5d0c.rlib': File too small to be an archive error[E0463]: can't find crate for `core` error: aborting due to previous error ``` Fixes rust-lang#53381
2 parents a791919 + de49681 commit c24d78f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_metadata/locator.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ impl<'a> Context<'a> {
622622
}
623623
}
624624
Err(err) => {
625-
info!("no metadata found: {}", err);
625+
warn!("no metadata found: {}", err);
626626
continue;
627627
}
628628
};

0 commit comments

Comments
 (0)