aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug.zig
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/debug.zig')
-rw-r--r--lib/std/debug.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/std/debug.zig b/lib/std/debug.zig
index 664999caa0..722bcc74a9 100644
--- a/lib/std/debug.zig
+++ b/lib/std/debug.zig
@@ -134,6 +134,10 @@ pub fn FullPanic(comptime panicFn: fn ([]const u8, ?usize) noreturn) type {
@branchHint(.cold);
call("@memcpy arguments alias", @returnAddress());
}
+ pub fn memmoveLenMismatch() noreturn {
+ @branchHint(.cold);
+ call("@memmove arguments have non-equal lengths", @returnAddress());
+ }
pub fn noreturnReturned() noreturn {
@branchHint(.cold);
call("'noreturn' function returned", @returnAddress());