Skip to content

Commit 4eceb00

Browse files
committed
auto merge of #11297 : sfackler/rust/de-jank-encoder-2, r=alexcrichton
This is causing maybe_get_doc to fail when called at the top level of the metadata and doesn't appear to be needed anymore. A try build succeeded so this should be okay.
2 parents 20f3ac7 + 4bc4acd commit 4eceb00

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/librustc/metadata/encoder.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1912,10 +1912,6 @@ fn encode_metadata_inner(wr: &mut MemWriter, parms: EncodeParams, crate: &Crate)
19121912
println!(" zero bytes: {}", ecx.stats.zero_bytes.get());
19131913
println!(" total bytes: {}", ecx.stats.total_bytes.get());
19141914
}
1915-
1916-
// Pad this, since something (LLVM, presumably) is cutting off the
1917-
// remaining % 4 bytes.
1918-
ebml_w.writer.write(&[0u8, 0u8, 0u8, 0u8]);
19191915
}
19201916

19211917
// Get the encoded string for a type

0 commit comments

Comments
 (0)