mirror of
https://github.com/openharmony/third_party_rust_libc.git
synced 2026-07-01 21:34:09 -04:00
5622b032ec
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
11 lines
411 B
Docker
11 lines
411 B
Docker
FROM ubuntu:22.04
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
gcc libc6-dev qemu-user ca-certificates \
|
|
gcc-mips-linux-gnu libc6-dev-mips-cross \
|
|
qemu-system-mips linux-headers-generic
|
|
|
|
ENV CARGO_TARGET_MIPS_UNKNOWN_LINUX_GNU_LINKER=mips-linux-gnu-gcc \
|
|
CARGO_TARGET_MIPS_UNKNOWN_LINUX_GNU_RUNNER="qemu-mips -L /usr/mips-linux-gnu" \
|
|
PATH=$PATH:/rust/bin
|