Skip to content

Commit c9920e3

Browse files
authored
Remove 'getDylinkMetadata' from exported methods (#433)
I tried to build xeus-ocaml with Emscripten 4x, but it throws error with undefined method. It may be [redundant](#433 (comment)) with MAIN_MODULE=1 Anyway, without it it builds and works fine, and and so does it with emscripten 3.73.
1 parent 33f56f8 commit c9920e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/WasmBuildOptions.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function(xeus_wasm_link_options target environment)
3434
PUBLIC "SHELL: -s STACK_SIZE=32mb"
3535
PUBLIC "SHELL: -s INITIAL_MEMORY=128mb"
3636
PUBLIC "SHELL: -s WASM_BIGINT"
37-
PUBLIC "SHELL: -s EXPORTED_RUNTIME_METHODS='[\"FS\",\"ENV\",\"PATH\",\"LDSO\",\"getDylinkMetadata\",\"loadDynamicLibrary\",\"ERRNO_CODES\"]'"
37+
PUBLIC "SHELL: -s EXPORTED_RUNTIME_METHODS='[\"FS\",\"ENV\",\"PATH\",\"LDSO\",\"loadDynamicLibrary\",\"ERRNO_CODES\"]'"
3838
PUBLIC "SHELL: -s FORCE_FILESYSTEM"
3939
PUBLIC "SHELL: -s MAIN_MODULE=1"
4040
)

0 commit comments

Comments
 (0)