Skip to content

std.Build.Step: make result returning correctly with evalZigProcess #19922

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RossComputerGuy
Copy link
Contributor

@RossComputerGuy RossComputerGuy commented May 10, 2024

Fixes #18941 by moving the checkCompileErrors call from Build.Step.Compile to Build.Step and returning result if the errors match as expected.

Continued from #18943

Tested by building https://github.com/MidstallSoftware/apparmor.zig/tree/4f32b90f540769d37879e23cb85e0e1c4fb10dcb

@RossComputerGuy RossComputerGuy force-pushed the fix/expected-error-build branch 2 times, most recently from f4d9336 to 32d5425 Compare May 10, 2024 01:35
Copy link
Member

@andrewrk andrewrk left a comment

Choose a reason for hiding this comment

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

Please mention in the PR description how you tested it.

@RossComputerGuy
Copy link
Contributor Author

@andrewrk Done, I'll resolve conflicts tonight as well.

Fixes ziglang#18941 by moving the
"checkCompileErrors" call from Build.Step.Compile to Build.Step and
returning result if the errors match as expected.
@RossComputerGuy RossComputerGuy force-pushed the fix/expected-error-build branch from 32d5425 to b834777 Compare August 25, 2024 03:16
@alexrp
Copy link
Member

alexrp commented Mar 26, 2025

It isn't obvious to me why this fixes #18941. Can you elaborate?

@RossComputerGuy
Copy link
Contributor Author

I don't remember since this PR is from like almost a year ago.

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.

Problems with using expected_errors when a version map is used
4 participants