Fix libafl_qemu fuzzers not building in Docker (#1966)

* fixed rustup component added before switching to nightly.
added missing libafl_qemu source files.

* removed touch.
This commit is contained in:
Romain Malmain 2024-03-24 11:07:33 +01:00 committed by GitHub
parent f448b6fb24
commit 4d3c6a3b9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,8 +16,8 @@ RUN sh -c 'echo set encoding=utf-8 > /root/.vimrc' \
mkdir ~/.cargo && \
echo "[build]\nrustc-wrapper = \"${RUSTC_WRAPPER}\"" >> ~/.cargo/config
RUN rustup component add rustfmt clippy
RUN rustup default nightly
RUN rustup component add rustfmt clippy
# Install clang 18, common build tools
ENV LLVM_VERSION=18
@ -121,6 +121,8 @@ RUN touch libafl_qemu/libafl_qemu_build/src/lib.rs
COPY libafl_qemu/libafl_qemu_build/src libafl_qemu/libafl_qemu_build/src
RUN touch libafl_qemu/libafl_qemu_sys/src/lib.rs
COPY libafl_qemu/libafl_qemu_sys/src libafl_qemu/libafl_qemu_sys/src
COPY libafl_qemu/runtime libafl_qemu/runtime
COPY libafl_qemu/libqasan libafl_qemu/libqasan
RUN touch libafl_qemu/src/lib.rs
COPY libafl_qemu/src libafl_qemu/src
RUN touch libafl_frida/src/lib.rs