Skip to content

just: use nightly cargo for fuzz tests#351

Merged
KyrylR merged 1 commit into
masterfrom
feature/fuzz-fix-nightly-justfile
Jun 5, 2026
Merged

just: use nightly cargo for fuzz tests#351
KyrylR merged 1 commit into
masterfrom
feature/fuzz-fix-nightly-justfile

Conversation

@KyrylR
Copy link
Copy Markdown
Collaborator

@KyrylR KyrylR commented Jun 5, 2026

Fixes:

inter simplicityhl (master) ✔ just build_fuzz       
cargo-fuzz check
error: failed to run `rustc` to learn about target-specific information

Caused by:
  process didn't exit successfully: `/Users/inter/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc - --crate-name ___ --print=file-names -Cpasses=sancov-module -Cllvm-args=-sanitizer-coverage-level=4 -Cllvm-args=-sanitizer-coverage-inline-8bit-counters -Cllvm-args=-sanitizer-coverage-pc-table -Cllvm-args=-sanitizer-coverage-trace-compares --cfg fuzzing -Cllvm-args=-simplifycfg-branch-fold-threshold=0 -Zsanitizer=address -Cdebug-assertions -Ccodegen-units=1 --target aarch64-apple-darwin --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg -Wwarnings` (exit status: 1)
  --- stderr
  error: the option `Z` is only accepted on the nightly compiler

  help: consider switching to a nightly toolchain: `rustup default nightly`

  note: selecting a toolchain with `+toolchain` arguments require a rustup proxy; see <https://rust-lang.github.io/rustup/concepts/index.html>

  note: for more information about Rust's stability policy, see <https://doc.rust-lang.org/book/appendix-07-nightly-rust.html#unstable-features>

  error: 1 nightly option were parsed

Error: failed to build fuzz script: ASAN_OPTIONS="detect_odr_violation=0" RUSTFLAGS=" -Cpasses=sancov-module -Cllvm-args=-sanitizer-coverage-level=4 -Cllvm-args=-sanitizer-coverage-inline-8bit-counters -Cllvm-args=-sanitizer-coverage-pc-table -Cllvm-args=-sanitizer-coverage-trace-compares --cfg fuzzing -Cllvm-args=-simplifycfg-branch-fold-threshold=0 -Zsanitizer=address -Cdebug-assertions -Ccodegen-units=1" "cargo" "check" "--manifest-path" "/Volumes/Somebody/Desktop/Simp/simplicityhl/fuzz/Cargo.toml" "--target" "aarch64-apple-darwin" "--release" "--config" "profile.release.debug=\"line-tables-only\"" "--bins"
error: Recipe `build_fuzz` failed on line 45 with exit code 1

@KyrylR KyrylR requested a review from delta1 as a code owner June 5, 2026 12:53
Copy link
Copy Markdown
Collaborator

@LesterEvSe LesterEvSe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 8676bb1

@KyrylR KyrylR merged commit 86d24a0 into master Jun 5, 2026
11 checks passed
@KyrylR KyrylR deleted the feature/fuzz-fix-nightly-justfile branch June 5, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants