Skip to content

Commit f0f86b9

Browse files
committed
---
yaml --- r: 83529 b: refs/heads/try c: cde44ea h: refs/heads/master i: 83527: 1a1f687 v: v3
1 parent 3398562 commit f0f86b9

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
@@ -2,7 +2,7 @@
22
refs/heads/master: 0e4d1fc8cae42e15e00f71d9f439b01bb25a86ae
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 6c08cc2db4f98e9f07ae7d50338396c4123c2f0a
5-
refs/heads/try: 67394f20eb0176828bc65f5caf6f4044994d9fb0
5+
refs/heads/try: cde44ea2885ceac0f4589387ecc8bfd566ac675c
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/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)