-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Build.zig: create: debug_stack_frames_count is uninitialized #24907
Copy link
Copy link
Open
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorcontributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.standard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.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 behaviorcontributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.standard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.zig build systemstd.Build, the build runner, `zig build` subcommand, package managementstd.Build, the build runner, `zig build` subcommand, package management
Zig Version
master (07e7cfa)
Steps to Reproduce and Observed Behavior
this is an issue because Build/Step.zig uses it to alloc something
zig/lib/std/Build/Step.zig
Line 224 in 07e7cfa
not initialized by this function:
zig/lib/std/Build.zig
Line 254 in b1a0a4e
triggers valgrind warnings in the test suite:
additional context: #24833 (comment)
Expected Behavior
debug_stack_frames_count is initialized, not triggering any valgrind warnings in the test suite