remove std.log usage from std.Build.Cache in favor of proper error reporting #14950
Labels
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
standard library
This issue involves writing Zig code for the standard library.
zig build system
std.Build, the build runner, `zig build` subcommand, package management
Milestone
Extracted from #14647.
zig/lib/std/Build/Cache.zig
Line 797 in b4d58e9
zig/lib/std/Build/Cache.zig
Line 809 in b4d58e9
The cache system is used by the build runner during build graph execution which is multi-threaded. Errors should be properly collected into their designated places, rather than written globally to a log function. Likewise, the compiler code that uses the Cache wants to store compilation errors in the appropriate place rather than, again, being written globally to a log function.
The text was updated successfully, but these errors were encountered: