Add a RISC-V 64 (`riscv64`, RV64GC) backend. Co-authored-by: yuyang <756445638@qq.com> Co-authored-by: Chris Fallin <chris@cfallin.org> Co-authored-by: Afonso Bordado <afonsobordado@az8.co>
8 lines
256 B
Docker
8 lines
256 B
Docker
FROM ubuntu:22.04
|
|
|
|
RUN apt-get update -y && apt-get install -y gcc gcc-riscv64-linux-gnu ca-certificates
|
|
|
|
ENV PATH=$PATH:/rust/bin
|
|
ENV CARGO_BUILD_TARGET=riscv64gc-unknown-linux-gnu
|
|
ENV CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_LINKER=riscv64-linux-gnu-gcc
|