| ... | @@ -415,7 +415,8 @@ pub fn allocPrintCmd(arena: Allocator, opt_cwd: ?[]const u8, argv: []const []con | ... | @@ -415,7 +415,8 @@ pub fn allocPrintCmd(arena: Allocator, opt_cwd: ?[]const u8, argv: []const []con |
| 415 | } | 415 | } |
| 416 | | 416 | |
| 417 | pub fn cacheHit(s: *Step, man: *std.Build.Cache.Manifest) !bool { | 417 | pub fn cacheHit(s: *Step, man: *std.Build.Cache.Manifest) !bool { |
| 418 | return man.hit() catch |err| return failWithCacheError(s, man, err); | 418 | s.result_cached = man.hit() catch |err| return failWithCacheError(s, man, err); |
| | 419 | return s.result_cached; |
| 419 | } | 420 | } |
| 420 | | 421 | |
| 421 | fn failWithCacheError(s: *Step, man: *const std.Build.Cache.Manifest, err: anyerror) anyerror { | 422 | fn failWithCacheError(s: *Step, man: *const std.Build.Cache.Manifest, err: anyerror) anyerror { |