Skip to content

Commit 3cd1c2a

Browse files
committed
---
yaml --- r: 369 b: refs/heads/master c: 085cd2e h: refs/heads/master i: 367: a1bd656 v: v3
1 parent 66eea25 commit 3cd1c2a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: beca62e2e3db5c5540003de9aac2766a7f1ab9b9
2+
refs/heads/master: 085cd2ee7dbe35a0c854d78f0e85218c6053a357

trunk/src/rt/rust_builtin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ vec_alloc(rust_task *task, type_desc *t, type_desc *elem_t, size_t n_elts)
102102
size_t alloc = next_power_of_two(sizeof(rust_vec) + fill);
103103
void *mem = task->malloc(alloc, t->is_stateful ? t : NULL);
104104
if (!mem) {
105-
task->fail(3);
105+
task->fail(4);
106106
return NULL;
107107
}
108108
rust_vec *vec = new (mem) rust_vec(dom, alloc, 0, NULL);

0 commit comments

Comments
 (0)