1
Fork 0

Rollup merge of #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 #53381
This commit is contained in:
kennytm 2018-09-20 21:36:18 +08:00 committed by GitHub
commit c24d78fe71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -622,7 +622,7 @@ impl<'a> Context<'a> {
}
}
Err(err) => {
info!("no metadata found: {}", err);
warn!("no metadata found: {}", err);
continue;
}
};