Skip to content

Commit f90c237

Browse files
committed
Emscripten: Clean up flags for old node versions
These flags are only needed for node <= 16. Node 16 has been end of life since October of 2023.
1 parent 656b7a3 commit f90c237

File tree

2 files changed

+0
-83
lines changed

2 files changed

+0
-83
lines changed

configure

Lines changed: 0 additions & 55 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,34 +1619,6 @@ then
16191619
[Emscripten/node*], [
16201620
AC_PATH_TOOL([NODE], [node], [node])
16211621
HOSTRUNNER="$NODE"
1622-
# bigint for ctypes c_longlong, c_longdouble
1623-
# no longer available in Node 16
1624-
AC_CACHE_CHECK([for node --experimental-wasm-bigint], [ac_cv_tool_node_wasm_bigint], [
1625-
if $NODE -v --experimental-wasm-bigint > /dev/null 2>&1; then
1626-
ac_cv_tool_node_wasm_bigint=yes
1627-
else
1628-
ac_cv_tool_node_wasm_bigint=no
1629-
fi
1630-
])
1631-
AS_VAR_IF([ac_cv_tool_node_wasm_bigint], [yes], [
1632-
AS_VAR_APPEND([HOSTRUNNER], [" --experimental-wasm-bigint"])
1633-
])
1634-
1635-
AS_VAR_IF([enable_wasm_pthreads], [yes], [
1636-
AS_VAR_APPEND([HOSTRUNNER], [" --experimental-wasm-threads"])
1637-
# no longer available in Node 16
1638-
AC_CACHE_CHECK([for node --experimental-wasm-bulk-memory], [ac_cv_tool_node_wasm_bulk_memory], [
1639-
if $NODE -v --experimental-wasm-bulk-memory > /dev/null 2>&1; then
1640-
ac_cv_tool_node_wasm_bulk_memory=yes
1641-
else
1642-
ac_cv_tool_node_wasm_bulk_memory=no
1643-
fi
1644-
])
1645-
AS_VAR_IF([ac_cv_tool_node_wasm_bulk_memory], [yes], [
1646-
AS_VAR_APPEND([HOSTRUNNER], [" --experimental-wasm-bulk-memory"])
1647-
])
1648-
])
1649-
16501622
AS_VAR_IF([host_cpu], [wasm64], [AS_VAR_APPEND([HOSTRUNNER], [" --experimental-wasm-memory64"])])
16511623
],
16521624
dnl TODO: support other WASI runtimes

0 commit comments

Comments
 (0)