Skip to content

Commit caaaadc

Browse files
committed
---
yaml --- r: 13139 b: refs/heads/master c: 70ecfa6 h: refs/heads/master i: 13137: 4251d67 13135: f77ceff v: v3
1 parent 954b5ef commit caaaadc

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,5 +1,5 @@
11
---
2-
refs/heads/master: 3f8223ffc2b820108677ca9c69e3db98af1b157d
2+
refs/heads/master: 70ecfa686a58f331443391c1f473fac2852e7f83
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/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)