fix: permission and start directory

This commit is contained in:
Roman 2026-06-03 12:40:24 +08:00
parent ee7b3b0f69
commit 477edb48bb
No known key found for this signature in database
GPG Key ID: 583BDF43C238B83E

7
scripts/mutants-corpus-test.sh Normal file → Executable file
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}"