Skip to content

Commit 0bc69be

Browse files
authored
Remove pthread_self from EXPORTED_RUNTIME_METHODS_SET (#12961)
This function was moved to native code so it doesn't make sense anymore to add it to the list of runtime methods.
1 parent 26cf4d5 commit 0bc69be

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/modules.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,8 +464,7 @@ function exportRuntime() {
464464
// In pthreads mode, the following functions always need to be exported to
465465
// Module for closure compiler, and also for MODULARIZE (so worker.js can
466466
// access them).
467-
var threadExports = ['PThread', '_pthread_self'];
468-
threadExports.push('wasmMemory');
467+
var threadExports = ['PThread', 'wasmMemory'];
469468
if (!MINIMAL_RUNTIME) {
470469
threadExports.push('ExitStatus');
471470
}

0 commit comments

Comments
 (0)