auto merge of #13569 : alexcrichton/rust/ignore-bytecode, r=brson
The name of the file changed awhile back and this spot wasn't updated to continue ignoring the bytecode from rlibs when copying into staticlibs.
This commit is contained in:
commit
903fbd2635
@ -104,7 +104,7 @@ impl<'a> Archive<'a> {
|
||||
pub fn add_rlib(&mut self, rlib: &Path, name: &str,
|
||||
lto: bool) -> io::IoResult<()> {
|
||||
let object = format!("{}.o", name);
|
||||
let bytecode = format!("{}.bc", name);
|
||||
let bytecode = format!("{}.bc.deflate", name);
|
||||
let mut ignore = vec!(METADATA_FILENAME, bytecode.as_slice());
|
||||
if lto {
|
||||
ignore.push(object.as_slice());
|
||||
|
Loading…
Reference in New Issue
Block a user