Skip to content

Commit 519720c

Browse files
committed
fixup! Support deleting methods during precompilation for stdlib excision (#51641)
1 parent d744c8c commit 519720c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/staticdata_utils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ JL_DLLEXPORT void jl_push_newly_deleted(jl_value_t* m)
121121
JL_LOCK(&newly_deleted_mutex);
122122
size_t end = jl_array_len(newly_deleted);
123123
jl_array_grow_end(newly_deleted, 1);
124-
jl_arrayset(newly_deleted, m, end);
124+
jl_array_ptr_set(newly_deleted, end, m);
125125
JL_UNLOCK(&newly_deleted_mutex);
126126
}
127127

0 commit comments

Comments
 (0)