Skip to content

Commit

Permalink
fix(core): fix build of unit tests
Browse files Browse the repository at this point in the history
Without this change building unit tests fail with an error that
`--shared-memory` is disallowed.
  • Loading branch information
ermshiperete committed Dec 16, 2024
1 parent 067c8a0 commit 193dd77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ endif
# shared with a number of subdirs
if cpp_compiler.get_id() == 'emscripten'
wasm_exported_runtime_methods = '-sEXPORTED_RUNTIME_METHODS=[\'UTF8ToString\',\'stringToNewUTF8\',\'wasmExports\']'

# For Google Test
add_global_arguments('-pthread', language: [ 'cpp', 'c' ] )
endif

subdir('docs/internal')
Expand Down

0 comments on commit 193dd77

Please sign in to comment.