Skip to content

Commit 8e66cb1

Browse files
authored
Fix emmalloc's name for EM_JS_DEPS to be unique to emmalloc (#25095)
Fix emmalloc's name for EM_JS_DEPS to be unique to emmalloc, so it won't conflict with user code EM_JS_DEPS.
1 parent 74a4aa7 commit 8e66cb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/lib/emmalloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ static size_t validate_alloc_size(size_t size) {
651651
return validatedSize;
652652
}
653653

654-
EM_JS_DEPS(deps, "$ptrToString");
654+
EM_JS_DEPS(_em_malloc_deps, "$ptrToString");
655655

656656
static void *allocate_memory(size_t alignment, size_t size) {
657657
ASSERT_MALLOC_IS_ACQUIRED();

0 commit comments

Comments
 (0)