FROM wasi-sdk-builder-base # Install an extra C++ toolchain which can target arm64 linux. 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 # 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.