Skip to content

Commit fca8e9e

Browse files
committed
rt: Don't do the stack canary check in upcall_vec_push. Too slow
1 parent e0b2fd8 commit fca8e9e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/rt/rust_upcall.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -464,10 +464,6 @@ upcall_vec_push(rust_vec** vp, type_desc* elt_ty, void* elt) {
464464
copy_elements(task, elt_ty, &v->data[0] + v->fill,
465465
elt, elt_ty->size);
466466
v->fill += elt_ty->size;
467-
468-
469-
// Do the stack check to make sure this op, on the Rust stack, is behaving
470-
task->check_stack_canary();
471467
}
472468

473469
/**********************************************************************

0 commit comments

Comments
 (0)