| ... | @@ -5447,11 +5447,7 @@ pub fn toPosixPath(file_path: []const u8) ![MAX_PATH_BYTES - 1:0]u8 { | ... | @@ -5447,11 +5447,7 @@ pub fn toPosixPath(file_path: []const u8) ![MAX_PATH_BYTES - 1:0]u8 { |
| 5447 | /// if this happens the fix is to add the error code to the corresponding | 5447 | /// if this happens the fix is to add the error code to the corresponding |
| 5448 | /// switch expression, possibly introduce a new error in the error set, and | 5448 | /// switch expression, possibly introduce a new error in the error set, and |
| 5449 | /// send a patch to Zig. | 5449 | /// send a patch to Zig. |
| 5450 | /// The self-hosted compiler is not fully capable of handle the related code. | 5450 | pub const unexpected_error_tracing = (builtin.zig_backend == .stage1 or builtin.zig_backend == .stage2_llvm) and builtin.mode == .Debug; |
| 5451 | /// Until then, unexpected error tracing is disabled for the self-hosted compiler. | | |
| 5452 | /// TODO remove this once self-hosted is capable enough to handle printing and | | |
| 5453 | /// stack trace dumping. | | |
| 5454 | pub const unexpected_error_tracing = builtin.zig_backend == .stage1 and builtin.mode == .Debug; | | |
| 5455 | | 5451 | |
| 5456 | pub const UnexpectedError = error{ | 5452 | pub const UnexpectedError = error{ |
| 5457 | /// The Operating System returned an undocumented error code. | 5453 | /// The Operating System returned an undocumented error code. |