Skip to content

Commit fd72b38

Browse files
committed
std: remove old panic handlers after zig1.wasm update
1 parent cc047fd commit fd72b38

File tree

3 files changed

+0
-20
lines changed

3 files changed

+0
-20
lines changed

lib/std/debug.zig

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,6 @@ pub fn forLenMismatch() noreturn {
120120
@trap();
121121
}
122122

123-
/// Delete after next zig1.wasm update
124-
pub const memcpyLenMismatch = copyLenMismatch;
125-
/// Delete after next zig1.wasm update
126-
pub const castTruncatedData = integerOutOfBounds;
127-
/// Delete after next zig1.wasm update
128-
pub const negativeToUnsigned = integerOutOfBounds;
129-
130123
pub fn copyLenMismatch() noreturn {
131124
@branchHint(.cold);
132125
@trap();

lib/std/debug/simple_panic.zig

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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
120-
pub const memcpyLenMismatch = copyLenMismatch;
121-
/// Delete after next zig1.wasm update
122-
pub const castTruncatedData = integerOutOfBounds;
123-
/// Delete after next zig1.wasm update
124-
pub const negativeToUnsigned = integerOutOfBounds;
125-
126119
pub fn copyLenMismatch() noreturn {
127120
call("source and destination have non-equal lengths", null);
128121
}

0 commit comments

Comments
 (0)