Sync from rust d6d028369b
This commit is contained in:
commit
961d8b69fa
1 changed files with 2 additions and 2 deletions
|
@ -85,8 +85,8 @@ impl<'a> ArchiveBuilder<'a> for ArArchiveBuilder<'a> {
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
fn add_native_library(&mut self, name: rustc_span::symbol::Symbol) {
|
fn add_native_library(&mut self, name: rustc_span::symbol::Symbol, verbatim: bool) {
|
||||||
let location = find_library(name, &self.lib_search_paths, self.sess);
|
let location = find_library(name, verbatim, &self.lib_search_paths, self.sess);
|
||||||
self.add_archive(location.clone(), |_| false).unwrap_or_else(|e| {
|
self.add_archive(location.clone(), |_| false).unwrap_or_else(|e| {
|
||||||
panic!("failed to add native library {}: {}", location.to_string_lossy(), e);
|
panic!("failed to add native library {}: {}", location.to_string_lossy(), e);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue