File tree 2 files changed +6
-6
lines changed
branches/snap-stage3/src/rt
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 54d42c4d74bb88d7e411d5c9abf8a402fedf0049
4
+ refs/heads/snap-stage3: ecd431809431b07fd63fb62c0f3ae70e2c917582
5
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ debug_get_stk_seg() {
367
367
return task->stk ;
368
368
}
369
369
370
- extern " C" CDECL rust_vec *
370
+ extern " C" CDECL rust_vec_box *
371
371
rust_list_files (rust_str *path) {
372
372
rust_task *task = rust_get_current_task ();
373
373
array_list<rust_str*> strings;
@@ -397,12 +397,12 @@ rust_list_files(rust_str *path) {
397
397
}
398
398
#endif
399
399
400
- rust_vec *vec = (rust_vec *)
401
- task->kernel ->malloc (vec_size<rust_vec *>(strings.size ()),
400
+ rust_vec_box *vec = (rust_vec_box *)
401
+ task->kernel ->malloc (vec_size<rust_vec_box *>(strings.size ()),
402
402
" list_files_vec" );
403
403
size_t alloc_sz = sizeof (rust_vec*) * strings.size ();
404
- vec->fill = vec->alloc = alloc_sz;
405
- memcpy (&vec->data [0 ], strings.data (), alloc_sz);
404
+ vec->body . fill = vec->body . alloc = alloc_sz;
405
+ memcpy (&vec->body . data [0 ], strings.data (), alloc_sz);
406
406
return vec;
407
407
}
408
408
You can’t perform that action at this time.
0 commit comments