File tree 2 files changed +4
-4
lines changed
docker/riscv64gc-unknown-linux-gnu
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- FROM ubuntu:22 .04
1
+ FROM ubuntu:23 .04
2
2
3
3
RUN apt-get update && apt-get install -y --no-install-recommends \
4
4
gcc libc6-dev qemu-user ca-certificates \
5
- gcc-riscv64-linux-gnu libc6-dev-riscv64-cross \
6
- qemu-user
5
+ gcc-riscv64-linux-gnu libc6-dev-riscv64-cross
7
6
8
7
ENV CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_LINKER=riscv64-linux-gnu-gcc \
9
- CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_RUNNER="qemu-riscv64 -L /usr/riscv64-linux-gnu" \
8
+ CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_RUNNER="qemu-riscv64 -L /usr/riscv64-linux-gnu -cpu rv64,zk=true " \
10
9
OBJDUMP=riscv64-linux-gnu-objdump
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ case ${TARGET} in
47
47
# Some of our test dependencies use the deprecated `gcc` crates which
48
48
# doesn't detect RISC-V compilers automatically, so do it manually here.
49
49
riscv64* )
50
+ export RUSTFLAGS=" ${RUSTFLAGS} -Ctarget-feature=+zk"
50
51
export TARGET_CC=" riscv64-linux-gnu-gcc"
51
52
;;
52
53
esac
You can’t perform that action at this time.
0 commit comments