File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed
ci/docker/asmjs-unknown-emscripten Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -109,9 +109,7 @@ jobs:
109109 arm-linux-androideabi,
110110 arm-unknown-linux-gnueabihf,
111111 arm-unknown-linux-musleabihf,
112- # FIXME: Disabled because currently broken, see:
113- # https://github.com/rust-lang/libc/issues/1591
114- # asmjs-unknown-emscripten,
112+ asmjs-unknown-emscripten,
115113 i686-linux-android,
116114 i686-unknown-linux-musl,
117115 mips-unknown-linux-gnu,
Original file line number Diff line number Diff line change 11FROM ubuntu:20.04
22
3- RUN apt-get update && \
4- apt-get install -y --no-install-recommends \
3+ # This is a workaround to avoid the interaction with tzdata.
4+ ENV DEBIAN_FRONTEND=noninteractive
5+ ENV TZ=America/New_York
6+
7+ RUN apt-get update
8+ RUN apt-get install -y --no-install-recommends tzdata
9+ RUN apt-get install -y --no-install-recommends \
510 ca-certificates \
611 curl \
712 gcc \
@@ -18,5 +23,9 @@ RUN bash /emscripten.sh
1823ENV PATH=$PATH:/rust/bin \
1924 CARGO_TARGET_ASMJS_UNKNOWN_EMSCRIPTEN_RUNNER=node
2025
26+ # `-g4` is used by default which causes a linking error.
27+ # Using `-g3` not to generate a source map.
28+ ENV EMCC_CFLAGS=-g3
29+
2130COPY emscripten-entry.sh /
2231ENTRYPOINT ["/emscripten-entry.sh" ]
You can’t perform that action at this time.
0 commit comments