diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-04-16 17:29:08 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-04-16 17:29:08 -0700 |
| commit | 6807eab800c43e04c232b3232701731cfdaab2e5 (patch) | |
| tree | 38481ba378f3c4a408320024b2dd639d1960edcd | |
| parent | 12391df5b78a7a904112c0056aa28773abecb65d (diff) | |
rustc: Fix omission of bytecode in staticlibs
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.rs | 2 |
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()); |
