Skip to content

fuzz: RUSTC_WRAPPER must exec the rustc Cargo passed - #326

Merged
reardencode merged 2 commits into
masterfrom
fuzz/rustc-wrapper-exec
Sep 4, 2026
Merged

fuzz: RUSTC_WRAPPER must exec the rustc Cargo passed#326
reardencode merged 2 commits into
masterfrom
fuzz/rustc-wrapper-exec

Conversation

@rearden-grok

@rearden-grok rearden-grok Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Cause

workflow_dispatch after #324 failed in ~40s on both jobs:

failed to run rustc to learn about target-specific information
multiple input filenames provided (first two filenames are
  .../bin/rustc and -)

RUSTC_WRAPPER is $WRAPPER $RUSTC <args>. The script did exec rustc "$@", so rustc saw its own path as an input file.

Fix

exec "$@" -A warnings. Pin in fuzz-run.test.sh. No workflow YAML.

Re-dispatch fuzz after merge.

rbitcoin-grok added 2 commits September 4, 2026 11:05
Cargo invokes `$WRAPPER $RUSTC <args>`. Prefixing another `rustc` made
nightly probe fail with "multiple input filenames" (rustc path and `-`).
Both fuzz jobs died before compile. Exec `"$@" -A warnings` instead.
NixOS has no /bin/echo; the wrapper protocol pin must not assume a FHS
echo. A tiny sh helper is enough.
@reardencode
reardencode merged commit 3597646 into master Sep 4, 2026
13 checks passed
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.

1 participant