Skip to content

test: find the rustqc binary at compile time in integration tests - #200

Merged
ewels merged 1 commit into
seqeralabs:mainfrom
rhassaine:fix/integration-tests-msrv
Nov 26, 2026
Merged

ewels merged 1 commit into
seqeralabs:mainfrom
rhassaine:fix/integration-tests-msrv

Conversation

@rhassaine

Copy link
Copy Markdown
Contributor

The integration tests read CARGO_BIN_EXE_rustqc at run time, which only newer Cargo versions set. On the MSRV toolchain (1.88) it's missing, the fallback looks for target/debug/rustqc, and all 21 integration tests fail. Cargo always provides the variable at compile time for integration tests, so this uses env!() instead.

Checked: on 1.88 the integration tests go from 0/21 to 21/21; on stable 1.100 fmt, clippy -D warnings and all tests pass. CI only runs cargo check on the MSRV, which is why this wasn't caught. It might be worth running the tests there too.

🤖 Generated with Claude Code

The integration tests read CARGO_BIN_EXE_rustqc at run time, which Cargo only
sets in newer versions. On the MSRV toolchain (1.88) the variable is missing,
the fallback looks for target/debug/rustqc, and all integration tests fail.
Cargo always provides it at compile time for integration tests, so use env!().

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ewels
ewels merged commit 1ea0639 into seqeralabs:main Nov 26, 2026
7 checks passed
@rhassaine
rhassaine deleted the fix/integration-tests-msrv branch November 27, 2026 15:52
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