Skip to content

Commit 47e1365

Browse files
committed
suite: update Rust to pull in -Zembed-source fixes
1 parent 740e3ec commit 47e1365

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
set -e
2-
git clone-rev.sh https://github.com/trifectatechfoundation/libzstd-rs-sys "$PROJECT/repo" 536f7b3017c07b9ab924af6ae1dcdb4b4ab0ef3d
2+
git clone-rev.sh https://github.com/trifectatechfoundation/libzstd-rs-sys "$PROJECT/repo" 3dc8c859efb1eb7264631c4781e1d811a5bcc8fb

harness-suite/scripts/build-rust-harness.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
BUILD_TYPE = os.environ.get("BUILD_TYPE", "wasi-lime1")
2222
assert BUILD_TYPE in ["wasi-lime1", "wasi-mvp", "x86_64-libfuzzer", "x86_64-libafl"]
2323
BUILD_FLAGS = os.environ.get("BUILD_FLAGS", "").split(";")
24-
RUSTUP_TOOLCHAIN = "nightly-2026-01-03"
24+
RUSTUP_TOOLCHAIN = "nightly-2026-05-02"
2525
WASI_SYSROOT = "/wasi-sdk/share/wasi-sysroot/"
2626
CARGO = Path.home() / ".cargo" / "bin" / "cargo"
2727
os.environ["RUSTUP_TOOLCHAIN"] = RUSTUP_TOOLCHAIN

harness-suite/scripts/set-buildflags.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ export WASI_SDK_PREFIX=/wasi-sdk/
44

55
case $BUILD_TYPE in
66
wasi-lime1)
7-
TARGET_FLAGS="--sysroot=$WASI_SDK_PREFIX/share/wasi-sysroot --target=wasm32-wasi -mcpu=lime1"
7+
TARGET_FLAGS="--sysroot=$WASI_SDK_PREFIX/share/wasi-sysroot --target=wasm32-wasip1 -mcpu=lime1"
88
;;
99
wasi-mvp)
10-
TARGET_FLAGS="--sysroot=$WASI_SDK_PREFIX/share/wasi-sysroot --target=wasm32-wasi -mcpu=mvp"
10+
TARGET_FLAGS="--sysroot=$WASI_SDK_PREFIX/share/wasi-sysroot --target=wasm32-wasip1 -mcpu=mvp"
1111
;;
1212
x86_64-libfuzzer|x86_64-libafl)
1313
TARGET_FLAGS=""

0 commit comments

Comments
 (0)