Skip to content

Commit 5ae190f

Browse files
marijnhgraydon
authored andcommitted
---
yaml --- r: 2019 b: refs/heads/master c: d678dad h: refs/heads/master i: 2017: 7be5d47 2015: 5453cae v: v3
1 parent 15e76e4 commit 5ae190f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: ac3026412b9beb8f70af809c1ff58b9118c1e79c
2+
refs/heads/master: d678dad434d85c25457fc8c234386f65fae4f07b

trunk/src/comp/middle/metadata.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,10 @@ impure fn encode_metadata(@trans.crate_ctxt cx, @ast.crate crate)
589589
encode_index[int](ebml_w, items_buckets, int_writer);
590590
ebml.end_tag(ebml_w);
591591

592+
// Pad this, since something (LLVM, presumably) is cutting off the
593+
// remaining % 4 bytes.
594+
buf_w.write(vec(0u8, 0u8, 0u8, 0u8));
595+
592596
ret C_postr(string_w.get_str());
593597
}
594598

0 commit comments

Comments
 (0)