mirror of https://github.com/WebAssembly/wasi-sdk
parent
1d5bf4a89d
commit
350ac54246
@ -1,5 +1,11 @@
|
|||||||
FROM wasi-sdk-builder-base
|
FROM wasi-sdk-builder-base
|
||||||
|
|
||||||
|
# Install an extra C++ toolchain which can target arm64 linux.
|
||||||
RUN apt-get install -y g++-aarch64-linux-gnu
|
RUN apt-get install -y g++-aarch64-linux-gnu
|
||||||
|
|
||||||
|
# Configure Rust to use this new compiler for linking Rust executables.
|
||||||
ENV CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER aarch64-linux-gnu-gcc
|
ENV CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER aarch64-linux-gnu-gcc
|
||||||
|
|
||||||
|
# Note that `.github/workflows/main.yml` sets various bits and bobs of
|
||||||
|
# configuration and cmake flags that may get passed to the underlying build. For
|
||||||
|
# example LLVM is instructed to use the toolchain installed above.
|
||||||
|
@ -1 +1,7 @@
|
|||||||
FROM wasi-sdk-builder-base
|
FROM wasi-sdk-builder-base
|
||||||
|
|
||||||
|
# No extra configuration necessary for x86_64 over what `Dockerfile.common`
|
||||||
|
# already has.
|
||||||
|
#
|
||||||
|
# Note though that `.github/workflows/main.yml` still sets various bits and bobs
|
||||||
|
# of configuration and cmake flags that may get passed to the underlying build.
|
||||||
|
Loading…
Reference in new issue