Skip to content

Commit

Permalink
Update Emscripten settings (#6362)
Browse files Browse the repository at this point in the history
The settings we use to build C++ in wasm were slightly out of date now that we've updated our runtime to Node instead of d8. Also drive-by gitignore fix.
  • Loading branch information
steven-johnson authored Oct 28, 2021
1 parent 1c7388a commit e10f104
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/hannk/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
build/
build*/
bin/
5 changes: 2 additions & 3 deletions dependencies/wasm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,8 @@ function(add_wasm_executable TARGET)
-Wsuggest-override
-s ASSERTIONS=1
-s ALLOW_MEMORY_GROWTH=1
-s WASM_BIGINT=1
-s STANDALONE_WASM=1
-s ENVIRONMENT=node)
-s ENVIRONMENT=node
)

set(SRCS)
foreach (S IN LISTS args_SRCS)
Expand Down

0 comments on commit e10f104

Please sign in to comment.