Skip to content

Commit 533425e

Browse files
committed
auto merge of #6053 : nikomatsakis/rust/fixme-2699, r=thestinger
r? @jld or @graydon The calculation looks right to me, but perhaps one of you two can double check. You two seem like you are doing the most recent work in this sort of area.
2 parents a51fae0 + c20c685 commit 533425e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/rt/rust_util.h

-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ typedef rust_vec_box rust_str;
8181

8282
inline size_t get_box_size(size_t body_size, size_t body_align) {
8383
size_t header_size = sizeof(rust_opaque_box);
84-
// FIXME (#2699): This alignment calculation is suspicious. Is it right?
8584
size_t total_size = align_to(header_size, body_align) + body_size;
8685
return total_size;
8786
}

0 commit comments

Comments
 (0)