Skip to content
This repository was archived by the owner on Nov 6, 2022. It is now read-only.

Commit 13fad13

Browse files
authored
Merge pull request #3 from fortanix/jb/alloc-fix
Use new symbol names to call Rust allocator
2 parents 4103a51 + 0feefe5 commit 13fad13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libunwind/src/UnwindRustSgx.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ extern "C" {
5555
int __rust_rwlock_rdlock(RWLock *rwlock);
5656
int __rust_rwlock_wrlock(RWLock *rwlock);
5757
int __rust_rwlock_unlock(RWLock *rwlock);
58-
unsigned char *__rust_alloc(size_t, size_t);
59-
void __rust_dealloc(unsigned char *, size_t, size_t);
58+
unsigned char *__rust_c_alloc(size_t, size_t);
59+
void __rust_c_dealloc(unsigned char *, size_t, size_t);
6060
void __rust_print_err(uint8_t *m, int s);
6161
__attribute__((noreturn)) void __rust_abort(void);
6262
unsigned char *__rust_encl_address(size_t);

0 commit comments

Comments
 (0)