fix: permission and start directory

This commit is contained in:
Roman
2026-06-03 12:40:24 +08:00
parent ee7b3b0f69
commit 477edb48bb
Regular → Executable
+7
View File
@@ -38,6 +38,13 @@ targets=(
fuzz_sequencer_vs_replayer
)
# cargo-fuzz requires the nightly toolchain (-Zsanitizer=address etc.).
# When this script is called by `cargo-mutants` the working directory is the
# LEZ workspace (logos-execution-zone/), whose rust-toolchain.toml pins the
# stable 1.x compiler. Change to the fuzzing repo so that rustup resolves
# the nightly toolchain from lez-fuzzing/rust-toolchain.toml instead.
cd "${FUZZ_REPO}"
for target in "${targets[@]}"; do
corpus="${CORPUS_ROOT}/${target}"
mkdir -p "${corpus}"