about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-04-17 06:16:24 -0700
committerbors <bors@rust-lang.org>2014-04-17 06:16:24 -0700
commit903fbd263553c105b7b8c5f5ee19fab89d4618bd (patch)
treec26fbc1c53e886e59556cbcca14989f3d3cdbd95
parent1fd7de8246df1f0e3447516482147fb5440bc3bc (diff)
parent6807eab800c43e04c232b3232701731cfdaab2e5 (diff)
downloadrust-903fbd263553c105b7b8c5f5ee19fab89d4618bd.tar.gz
rust-903fbd263553c105b7b8c5f5ee19fab89d4618bd.zip
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.
-rw-r--r--src/librustc/back/archive.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/back/archive.rs b/src/librustc/back/archive.rs
index 9b795e6957c..27211c4779f 100644
--- a/src/librustc/back/archive.rs
+++ b/src/librustc/back/archive.rs
@@ -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());