From 0feefe575044ad33d9610ce7061de137b6091262 Mon Sep 17 00:00:00 2001 From: Jethro Beekman Date: Mon, 21 Jan 2019 20:54:24 +0530 Subject: [PATCH] Use new symbol names to call Rust allocator --- libunwind/src/UnwindRustSgx.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libunwind/src/UnwindRustSgx.h b/libunwind/src/UnwindRustSgx.h index a645a68e6c0cc..a5be4e30c6567 100644 --- a/libunwind/src/UnwindRustSgx.h +++ b/libunwind/src/UnwindRustSgx.h @@ -55,8 +55,8 @@ extern "C" { int __rust_rwlock_rdlock(RWLock *rwlock); int __rust_rwlock_wrlock(RWLock *rwlock); int __rust_rwlock_unlock(RWLock *rwlock); - unsigned char *__rust_alloc(size_t, size_t); - void __rust_dealloc(unsigned char *, size_t, size_t); + unsigned char *__rust_c_alloc(size_t, size_t); + void __rust_c_dealloc(unsigned char *, size_t, size_t); void __rust_print_err(uint8_t *m, int s); __attribute__((noreturn)) void __rust_abort(void); unsigned char *__rust_encl_address(size_t);