# std.debug: Fix defaultPanic\(\) uefi build · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/f18c71ba73a48b5bf6b5596166114c514a25e026)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: f18c71ba73a48b5bf6b5596166114c514a25e026

Requested commit: f18c71ba73a48b5bf6b5596166114c514a25e026

Commit: f18c71ba73a48b5bf6b5596166114c514a25e026

Tree: a12774c2c360fefa0b1326a2b50826a340ffb26d

Author: Linus Groh

Committer: Linus Groh

## Message

```
std.debug: Fix defaultPanic() uefi build

lib/std/debug.zig:491:38: error: slice of non-array type 'u16'
            utf16_buffer[len_minus_3][0..3].* = .{ '\r', '\n', 0 };
            ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~

lib/std/debug.zig:510:70: error: expected type '?*const anyopaque', found '[]u16'
                _ = bs.exit(uefi.handle, .Aborted, exit_msg.len + 1, exit_data);
                                                                     ^~~~~~~~~

Regressed in #21520.

```

## Parents

- [148b5b4c7806a694084f1e6f9514b0333cb75c6a](https://git.cafe/gitcafe/zig/commit/148b5b4c7806a694084f1e6f9514b0333cb75c6a?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/f18c71ba73a48b5bf6b5596166114c514a25e026?format=markdown)
