Skip to content

Commit e3d511b

Browse files
committed
---
yaml --- r: 10159 b: refs/heads/snap-stage3 c: 70ecfa6 h: refs/heads/master i: 10157: e591563 10155: 3cac31b 10151: ec5d5dd 10143: c0f7223 v: v3
1 parent be7e7b7 commit e3d511b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 3f8223ffc2b820108677ca9c69e3db98af1b157d
4+
refs/heads/snap-stage3: 70ecfa686a58f331443391c1f473fac2852e7f83
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/snap-stage3/src/rt/rust_builtin.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ rust_env_pairs() {
9595
++envc;
9696
}
9797
c = ch;
98-
rust_vec *v = (rust_vec *)
99-
task->kernel->malloc(vec_size<rust_vec*>(envc),
98+
rust_vec_box *v = (rust_vec_box *)
99+
task->kernel->malloc(vec_size<rust_vec_box*>(envc),
100100
"str vec interior");
101-
v->fill = v->alloc = sizeof(rust_vec*) * envc;
101+
v->body.fill = v->body.alloc = sizeof(rust_vec*) * envc;
102102
for (size_t i = 0; i < envc; ++i) {
103103
size_t n = strlen(c);
104104
rust_str *str = make_str(task->kernel, c, n, "str");

0 commit comments

Comments
 (0)