diff options
Diffstat (limited to 'src/rt')
| -rw-r--r-- | src/rt/rust_upcall.cpp | 9 | ||||
| -rw-r--r-- | src/rt/rustrt.def.in | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp index 096c814f7c9..65299a7d244 100644 --- a/src/rt/rust_upcall.cpp +++ b/src/rt/rust_upcall.cpp @@ -227,15 +227,6 @@ upcall_shared_free(void* ptr) { UPCALL_SWITCH_STACK(&args, upcall_s_shared_free); } -/************************************************************************ - * Memset that, contrary to the llvm intrinsic, handles dynamic alignment - */ - -extern "C" CDECL void -upcall_memset(void* ptr, char val, unsigned size, unsigned align) { - memset(ptr, val, align_to(size, align)); -} - /********************************************************************** * Called to deep copy a type descriptor onto the exchange heap. * Used when sending closures. It's possible that we should have diff --git a/src/rt/rustrt.def.in b/src/rt/rustrt.def.in index f507687df82..745e4c6e34b 100644 --- a/src/rt/rustrt.def.in +++ b/src/rt/rustrt.def.in @@ -74,7 +74,6 @@ upcall_rust_personality upcall_s_shared_malloc upcall_shared_malloc upcall_shared_free -upcall_memset upcall_vec_grow upcall_vec_push upcall_call_shim_on_c_stack |
