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 {...@@ -122,12 +122,6 @@ pub fn FullPanic(comptime panicFn: fn ([]const u8, ?usize) noreturn) type {
122 @branchHint(.cold);122 @branchHint(.cold);
123 call("for loop over objects with non-equal lengths", @returnAddress());123 call("for loop over objects with non-equal lengths", @returnAddress());
124 }124 }
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;
131 pub fn copyLenMismatch() noreturn {125 pub fn copyLenMismatch() noreturn {
132 @branchHint(.cold);126 @branchHint(.cold);
133 call("source and destination arguments have non-equal lengths", @returnAddress());127 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 {...@@ -120,13 +120,6 @@ pub fn forLenMismatch() noreturn {
120 @trap();120 @trap();
121}121}
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
130pub fn copyLenMismatch() noreturn {123pub fn copyLenMismatch() noreturn {
131 @branchHint(.cold);124 @branchHint(.cold);
132 @trap();125 @trap();
lib/std/debug/simple_panic.zig-7
...@@ -116,13 +116,6 @@ pub fn forLenMismatch() noreturn {...@@ -116,13 +116,6 @@ pub fn forLenMismatch() noreturn {
116 call("for loop over objects with non-equal lengths", null);116 call("for loop over objects with non-equal lengths", null);
117}117}
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
126pub fn copyLenMismatch() noreturn {119pub fn copyLenMismatch() noreturn {
127 call("source and destination have non-equal lengths", null);120 call("source and destination have non-equal lengths", null);
128}121}