Skip to content

Conversation

@mlugg
Copy link
Member

@mlugg mlugg commented Aug 4, 2025

See commit messages: fixes a regression from #24588. I tested by compiling a build runner targeting SerenityOS (the downstream user motivating #24682) using a new --debug-libc option to zig build.

@mlugg mlugg enabled auto-merge August 4, 2025 08:44
mlugg added 2 commits August 4, 2025 09:47
This option is similar to `--debug-target` in letting us override
details of the build runner target when debugging the build system.
While `--debug-target` lets us override the target query, this option
lets us override the libc installation. This option is only usable in a
compiler built with debug extensions.

I am using this to (try to) test the build runner targeting SerenityOS.
This was a regression in ziglang#24588.

I have verified that this patch works by confirming that with the
downstream patches SerenityOS apply to the Zig source tree (sans the one
working around this regression), I can build the build runner for
SerenityOS.

Resolves: ziglang#24682
@mlugg mlugg force-pushed the build-no-watch-regression branch from c12ef3b to 422e8d4 Compare August 4, 2025 08:48
Copy link
Collaborator

@linusg linusg left a comment

Choose a reason for hiding this comment

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

Thanks!

@mlugg mlugg merged commit 9b509da into ziglang:master Aug 4, 2025
12 checks passed
@mlugg mlugg deleted the build-no-watch-regression branch August 13, 2025 12:14
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