Skip to content

Commit

Permalink
tiny fix for 0.14
Browse files Browse the repository at this point in the history
  • Loading branch information
elpekenin committed Nov 24, 2024
1 parent 6a32c97 commit 513a52e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libc.zig
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ fn fallback_panic_handler(msg_ptr: [*]const u8, msg_len: usize) callconv(.C) nor
@trap();
}
comptime {
@export(fallback_panic_handler, std.builtin.ExportOptions{
const ptr = &fallback_panic_handler;
@export(ptr, std.builtin.ExportOptions{
.name = "foundation_libc_panic_handler",
.linkage = .weak,
.visibility = .default,
Expand Down

0 comments on commit 513a52e

Please sign in to comment.