diff --git a/projects/gitoxide/Dockerfile b/projects/gitoxide/Dockerfile index 30be15ad4c2fe..8e465015384fe 100644 --- a/projects/gitoxide/Dockerfile +++ b/projects/gitoxide/Dockerfile @@ -16,6 +16,7 @@ FROM gcr.io/oss-fuzz-base/base-builder-rust RUN git clone --depth 1 https://github.com/Byron/gitoxide.git gitoxide +RUN rustup update nightly WORKDIR gitoxide RUN rustup component add rust-src COPY build.sh $SRC/ diff --git a/projects/gitoxide/build.sh b/projects/gitoxide/build.sh index 7ed2666e08741..ae3843a524aa6 100755 --- a/projects/gitoxide/build.sh +++ b/projects/gitoxide/build.sh @@ -25,7 +25,7 @@ for CRATE_DIR in ${FUZZ_CRATE_DIRS[@]}; do echo "Building crate: $CRATE_DIR" cd $CRATE_DIR - cargo fuzz build -O --debug-assertions + cargo +nightly fuzz build -O --debug-assertions FUZZ_TARGET_OUTPUT_DIR=$CARGO_BUILD_TARGET_DIR/x86_64-unknown-linux-gnu/release for f in fuzz/fuzz_targets/*.rs do