File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11set(root ../../..)
22set(sourceDir ${root}/src)
33
4- set(CMAKE_CXX_STANDARD 20 )
4+ set(CMAKE_CXX_STANDARD 23 )
55set(CMAKE_CXX_STANDARD_REQUIRED ON)
66
77if (NOT CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE STREQUAL "")
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s DISABLE_EXCEPTION_CATCHING=1")
33set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} \
44 -s STRICT=1 \
55 -s ASSERTIONS=0 \
6- -s SUPPORT_ERRNO=0 \
76 -s MODULARIZE=1 \
87 -s EXPORT_ES6=1 \
98 -s FILESYSTEM=0 \
@@ -61,6 +60,7 @@ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} \
6160'getValue',\
6261'addFunction',\
6362'removeFunction',\
64- 'ExceptionInfo'] \
63+ 'ExceptionInfo',\
64+ 'HEAPU8'] \
6565 -s INCOMING_MODULE_JS_API=['locateFile'] \
6666")
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ RUN apt-get install -y cmake build-essential \
1717 && cd /root \
1818 && git clone https://github.com/emscripten-core/emsdk.git \
1919 && cd /root/emsdk \
20- && ./emsdk install 3.1.51 \
21- && ./emsdk activate 3.1.51 \
20+ && ./emsdk install 3.1.64 \
21+ && ./emsdk activate 3.1.64 \
2222 && echo "source \"/root/emsdk/emsdk_env.sh\"" >> /root/.bashrc
2323
2424# Note: this installs the necessary libs to make the bundled version of Chromium that Puppeteer
You can’t perform that action at this time.
0 commit comments