Skip to content

Commit 903fbd2

Browse files
committed
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.
2 parents 1fd7de8 + 6807eab commit 903fbd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/back/archive.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ impl<'a> Archive<'a> {
104104
pub fn add_rlib(&mut self, rlib: &Path, name: &str,
105105
lto: bool) -> io::IoResult<()> {
106106
let object = format!("{}.o", name);
107-
let bytecode = format!("{}.bc", name);
107+
let bytecode = format!("{}.bc.deflate", name);
108108
let mut ignore = vec!(METADATA_FILENAME, bytecode.as_slice());
109109
if lto {
110110
ignore.push(object.as_slice());

0 commit comments

Comments
 (0)