Skip to content

Commit ee18e2e

Browse files
committed
---
yaml --- r: 81967 b: refs/heads/master c: cde44ea h: refs/heads/master i: 81965: 8a98da9 81963: 70467bf 81959: ba28bdf 81951: 025ca15 v: v3
1 parent f519250 commit ee18e2e

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 67394f20eb0176828bc65f5caf6f4044994d9fb0
2+
refs/heads/master: cde44ea2885ceac0f4589387ecc8bfd566ac675c
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 6c08cc2db4f98e9f07ae7d50338396c4123c2f0a
55
refs/heads/try: 70152ff55722878cde684ee6462c14c65f2c4729

trunk/src/rt/rust_util.h

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -36,24 +36,6 @@ rust_vec
3636
uint8_t data[0];
3737
};
3838

39-
struct
40-
rust_vec_box
41-
{
42-
rust_opaque_box header;
43-
rust_vec body;
44-
};
45-
46-
template <typename T>
47-
inline size_t vec_size(size_t elems) {
48-
return sizeof(rust_vec_box) + sizeof(T) * elems;
49-
}
50-
51-
template <typename T>
52-
inline T *
53-
vec_data(rust_vec *v) {
54-
return reinterpret_cast<T*>(v->data);
55-
}
56-
5739
typedef rust_vec rust_str;
5840

5941
inline size_t get_box_size(size_t body_size, size_t body_align) {

0 commit comments

Comments
 (0)