File tree 2 files changed +12
-5
lines changed
ci/docker/asmjs-unknown-emscripten
2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -109,9 +109,7 @@ jobs:
109
109
arm-linux-androideabi,
110
110
arm-unknown-linux-gnueabihf,
111
111
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,
115
113
i686-linux-android,
116
114
i686-unknown-linux-musl,
117
115
mips-unknown-linux-gnu,
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:20.04
2
2
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 \
5
10
ca-certificates \
6
11
curl \
7
12
gcc \
@@ -18,5 +23,9 @@ RUN bash /emscripten.sh
18
23
ENV PATH=$PATH:/rust/bin \
19
24
CARGO_TARGET_ASMJS_UNKNOWN_EMSCRIPTEN_RUNNER=node
20
25
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
+
21
30
COPY emscripten-entry.sh /
22
31
ENTRYPOINT ["/emscripten-entry.sh" ]
You can’t perform that action at this time.
0 commit comments