-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
zig build on platforms with !Watch.have_impl regressed #24682
Copy link
Copy link
Closed
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorregressionIt worked in a previous version of Zig, but stopped working.It worked in a previous version of Zig, but stopped working.zig build systemstd.Build, the build runner, `zig build` subcommand, package managementstd.Build, the build runner, `zig build` subcommand, package management
Milestone
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorregressionIt worked in a previous version of Zig, but stopped working.It worked in a previous version of Zig, but stopped working.zig build systemstd.Build, the build runner, `zig build` subcommand, package managementstd.Build, the build runner, `zig build` subcommand, package management
Type
Fields
Give feedbackNo fields configured for issues without a type.
Zig Version
0.15.0-dev.1380+e98aeeb73
Steps to Reproduce and Observed Behavior
Zig fails to compile the build runner because it tries to unconditionally call
update()on a possiblyvoidtype:zig/lib/compiler/build_runner.zig
Line 505 in 4932654
zig/lib/std/Build/Watch.zig
Lines 903 to 905 in 4932654
zig/lib/std/Build/Watch.zig
Line 848 in 4932654
Expected Behavior
zig buildwithout watch functionality should still work.