Skip to content

Commit 275c2d5

Browse files
committed
wasmtime: fix broken build
1 parent 4bf20ff commit 275c2d5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

projects/wasmtime/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ WORKDIR wasmtime
3838

3939
# The default toolchain used by OSS-Fuzz is too old to build Wasmtime at this
4040
# time.
41-
ENV RUSTUP_TOOLCHAIN nightly-2025-07-16
41+
ENV RUSTUP_TOOLCHAIN=nightly-2025-07-16
42+
RUN rustup target add wasm32-unknown-unknown wasm32-wasip1 --toolchain nightly-2025-07-16
4243

4344
COPY build.sh *.options $SRC/

projects/wasmtime/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ build() {
5050
for f in $fuzz_targets; do
5151
src_name=$(basename ${f%.*})
5252
dst_name=$fuzzer_prefix$src_name
53-
cp $FUZZ_TARGET_OUTPUT_DIR/$src_name $OUT/$dst_name
53+
mv $FUZZ_TARGET_OUTPUT_DIR/$src_name $OUT/$dst_name
5454

5555
if [[ -f $SRC/$dst_name.options ]]; then
5656
cp $SRC/$dst_name.options $OUT/$dst_name.options

0 commit comments

Comments
 (0)