Skip to content

Commit 79d2f47

Browse files
authored
Bump emscripten to 2.0.6. (#43800)
* Bump emscripten to 2.0.6. * Define HAVE_SYS_RANDOM_H on wasm, its not detected correctly.
1 parent 2b0a6a4 commit 79d2f47

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

eng/pipelines/common/platform-matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ jobs:
193193
targetRid: browser-wasm
194194
platform: Browser_wasm
195195
container:
196-
image: ubuntu-18.04-webassembly-20200827125937-9740252
196+
image: ubuntu-18.04-webassembly-20201024150726-a0359ae
197197
registry: mcr
198198
jobParameters:
199199
runtimeFlavor: ${{ parameters.runtimeFlavor }}

src/mono/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,8 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
263263
set(DISABLE_EXECUTABLES 1)
264264
# FIXME: Is there a cmake option for this ?
265265
set(DISABLE_SHARED_LIBS 1)
266+
# sys/random.h exists, but its not found
267+
set(HAVE_SYS_RANDOM_H 1)
266268
else()
267269
message(FATAL_ERROR "Host '${CMAKE_SYSTEM_NAME}' not supported.")
268270
endif()

src/mono/wasm/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ all: build-native icu-data
2727
# If EMSDK_PATH is not set by the caller, download and setup a local emsdk install.
2828
#
2929

30-
EMSCRIPTEN_VERSION=2.0.1
30+
EMSCRIPTEN_VERSION=2.0.6
3131
EMSDK_LOCAL_PATH=emsdk
3232
EMCC=source $(EMSDK_PATH)/emsdk_env.sh && emcc
3333

0 commit comments

Comments
 (0)