authorgravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2025-06-01 08:28:51+01:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2025-06-01 12:10:57+01:00
logfd72b38f68c6c0f637c7d3639162e4053135086c
treefc87b87e06241717aa794d0bbee8da5071947b7f
parentcc047fdd959edb260f7a6e305ccad53f185ece66
signaturelock-open Commit is signed but in an unrecognized format.

std: remove old panic handlers after zig1.wasm update


3 files changed, 0 insertions(+), 20 deletions(-)

lib/std/debug.zig-6
......@@ -122,12 +122,6 @@ pub fn FullPanic(comptime panicFn: fn ([]const u8, ?usize) noreturn) type {
122122 @branchHint(.cold);
123123 call("for loop over objects with non-equal lengths", @returnAddress());
124124 }
125 /// Delete after next zig1.wasm update
126 pub const memcpyLenMismatch = copyLenMismatch;
127 /// Delete after next zig1.wasm update
128 pub const castTruncatedData = integerOutOfBounds;
129 /// Delete after next zig1.wasm update
130 pub const negativeToUnsigned = integerOutOfBounds;
131125 pub fn copyLenMismatch() noreturn {
132126 @branchHint(.cold);
133127 call("source and destination arguments have non-equal lengths", @returnAddress());
lib/std/debug/no_panic.zig-7
......@@ -120,13 +120,6 @@ pub fn forLenMismatch() noreturn {
120120 @trap();
121121}
122122
123/// Delete after next zig1.wasm update
124pub const memcpyLenMismatch = copyLenMismatch;
125/// Delete after next zig1.wasm update
126pub const castTruncatedData = integerOutOfBounds;
127/// Delete after next zig1.wasm update
128pub const negativeToUnsigned = integerOutOfBounds;
129
130123pub fn copyLenMismatch() noreturn {
131124 @branchHint(.cold);
132125 @trap();
lib/std/debug/simple_panic.zig-7
......@@ -116,13 +116,6 @@ pub fn forLenMismatch() noreturn {
116116 call("for loop over objects with non-equal lengths", null);
117117}
118118
119/// Delete after next zig1.wasm update
120pub const memcpyLenMismatch = copyLenMismatch;
121/// Delete after next zig1.wasm update
122pub const castTruncatedData = integerOutOfBounds;
123/// Delete after next zig1.wasm update
124pub const negativeToUnsigned = integerOutOfBounds;
125
126119pub fn copyLenMismatch() noreturn {
127120 call("source and destination have non-equal lengths", null);
128121}