| ... | ... | @@ -4968,7 +4968,11 @@ pub fn toPosixPath(file_path: []const u8) ![MAX_PATH_BYTES - 1:0]u8 { |
| 4968 | 4968 | /// if this happens the fix is to add the error code to the corresponding |
| 4969 | 4969 | /// switch expression, possibly introduce a new error in the error set, and |
| 4970 | 4970 | /// send a patch to Zig. |
| 4971 | | pub const unexpected_error_tracing = builtin.mode == .Debug; |
| 4971 | /// The self-hosted compiler is not fully capable of handle the related code. |
| 4972 | /// Until then, unexpected error tracing is disabled for the self-hosted compiler. |
| 4973 | /// TODO remove this once self-hosted is capable enough to handle printing and |
| 4974 | /// stack trace dumping. |
| 4975 | pub const unexpected_error_tracing = !builtin.zig_is_stage2 and builtin.mode == .Debug; |
| 4972 | 4976 | |
| 4973 | 4977 | pub const UnexpectedError = error{ |
| 4974 | 4978 | /// The Operating System returned an undocumented error code. |