Skip to content

fix(process): compile evidence error helper on Windows - #6821

Merged
me2seeks merged 1 commit into
apache:rust-previewfrom
me2seeks:fix/process-windows-invalid-helper
Nov 12, 2026
Merged

me2seeks merged 1 commit into
apache:rust-previewfrom
me2seeks:fix/process-windows-invalid-helper

Conversation

@me2seeks

Copy link
Copy Markdown
Contributor

Summary

Fix the Windows build by compiling the invalid evidence error helper on all targets. ClosedEvidence::baseline_reader references it on Windows, but the helper was previously restricted with cfg(unix), causing E0425. Error behavior is unchanged.

Verification

  • cargo fmt -p maka-process -- --check — passed.
  • cargo check -p maka-process — reproduced E0425 before the fix and passes after it.
  • Full just check not run; this only removes an over-restrictive compilation guard.

AI use

Select exactly one:

  • No generative tool made a substantive contribution
  • Generative tooling made a substantive contribution

Tool(s) and scope: Maka identified the cfg mismatch, removed the unnecessary guard, and ran focused verification.

Checklist

  • Tests cover the change and fail without it — the Windows compile check reproduces E0425 without the fix.
  • Format, typecheck and the affected suites pass locally

Does this PR entail a change in behavior?

  • Yes — described under Summary above
  • No

ClosedEvidence::baseline_reader is compiled on Windows, but its invalid error helper was restricted to Unix. Remove the over-restrictive cfg to fix E0425 without changing error behavior.

Generated-by: Maka
@me2seeks
me2seeks merged commit 08bcd01 into apache:rust-preview Nov 12, 2026
1 check 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