Skip to content

Commit e574de7

Browse files
committed
fix: simplify the linker options
1 parent 484792d commit e574de7

3 files changed

Lines changed: 2 additions & 7 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,8 @@ if(ZMQ_WASM OR CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
9898
add_link_options("SHELL:-s MODULARIZE=1")
9999
add_link_options("SHELL:-s EXPORT_NAME='createModule'")
100100
add_link_options("SHELL:-s ENVIRONMENT='web,worker'")
101-
add_link_options("--no-entry")
101+
add_link_options("SHELL:--no-entry")
102102
add_link_options("SHELL:-Wl,--strip-all")
103-
add_link_options("SHELL:-fvisibility=hidden")
104-
add_link_options("SHELL:-fvisibility-inlines-hidden")
105-
add_link_options("SHELL:-Wl,-gc-sections")
106-
add_compile_options("-flto=full")
107-
add_link_options("-flto=full")
108103

109104
# Allow undefined symbols on Linux for runtime loading
110105
add_link_options("SHELL:-Wl,--unresolved-symbols=ignore-all")
File renamed without changes.

test/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"extends": "../tsconfig.json",
3-
"include": ["./unit/**/*.ts", "./*.ts", "../wasm.mts"],
3+
"include": ["./unit/**/*.ts", "./*.ts"],
44
"compilerOptions": {
55
"skipLibCheck": true
66
},

0 commit comments

Comments
 (0)