| ... | ... | @@ -254,7 +254,7 @@ pub fn buildImportLib(comp: *Compilation, lib_name: []const u8, prog_node: std.P |
| 254 | 254 | var diag: Cache.Manifest.CheckDiagnostic = undefined; |
| 255 | 255 | const status = man.check(&diag, prog_node) catch |err| switch (err) { |
| 256 | 256 | error.CacheCheckFailed => { |
| 257 | | comp.setMiscFailure(.windows_import_lib, "{s} cache check failed: {f}", .{ |
| 257 | comp.lockAndSetMiscFailure(.windows_import_lib, "{s} cache check failed: {f}", .{ |
| 258 | 258 | final_lib_basename, diag.fmt(&man), |
| 259 | 259 | }); |
| 260 | 260 | return error.AlreadyReported; |