Skip to content

Commit 86b0e1b

Browse files
sbc100hedwigz
authored andcommitted
Remove unnecessary forced exports. NFC (emscripten-core#23060)
1 parent ea39818 commit 86b0e1b

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

src/library_pthread.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,7 @@ var LibraryPThread = {
10231023
},
10241024
10251025
$establishStackSpace__internal: true,
1026-
$establishStackSpace__deps: ['$stackRestore'],
1026+
$establishStackSpace__deps: ['$stackRestore', 'emscripten_stack_set_limits'],
10271027
$establishStackSpace: (pthread_ptr) => {
10281028
#if ALLOW_MEMORY_GROWTH
10291029
// If memory growth is enabled, the memory views may have gotten out of date,

test/other/codesize/test_codesize_minimal_pthreads.funcs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ $em_task_queue_free
6767
$em_task_queue_is_empty
6868
$emscripten_builtin_free
6969
$emscripten_builtin_malloc
70-
$emscripten_current_thread_process_queued_calls
7170
$emscripten_futex_wait
7271
$emscripten_futex_wake
7372
$emscripten_stack_get_current
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
19501
1+
19495

tools/link.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,7 @@ def phase_linker_setup(options, state, newargs):
689689
if not settings.ASSERTIONS:
690690
exit_with_error('PTHREADS_PROFILING only works with ASSERTIONS enabled')
691691
options.post_js.append(utils.path_from_root('src/threadprofiler.js'))
692+
settings.REQUIRED_EXPORTS.append('emscripten_main_runtime_thread_id')
692693

693694
options.extern_pre_js = read_js_files(options.extern_pre_js)
694695
options.extern_post_js = read_js_files(options.extern_post_js)

0 commit comments

Comments
 (0)