Repository navigation
fix(process): compile evidence error helper on Windows - #6821
Merged
me2seeks merged 1 commit intoNov 12, 2026
Merged
Conversation
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
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fix the Windows build by compiling the
invalidevidence error helper on all targets.ClosedEvidence::baseline_readerreferences it on Windows, but the helper was previously restricted withcfg(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.just checknot run; this only removes an over-restrictive compilation guard.AI use
Select exactly one:
Tool(s) and scope: Maka identified the cfg mismatch, removed the unnecessary guard, and ran focused verification.
Checklist
Does this PR entail a change in behavior?