std: remove old panic handlers after zig1.wasm update

This commit is contained in:
mlugg 2025-06-01 08:28:51 +01:00
parent cc047fdd95
commit fd72b38f68
No known key found for this signature in database
GPG Key ID: 3F5B7DCCBF4AF02E
3 changed files with 0 additions and 20 deletions

View File

@ -122,12 +122,6 @@ pub fn FullPanic(comptime panicFn: fn ([]const u8, ?usize) noreturn) type {
@branchHint(.cold);
call("for loop over objects with non-equal lengths", @returnAddress());
}
/// Delete after next zig1.wasm update
pub const memcpyLenMismatch = copyLenMismatch;
/// Delete after next zig1.wasm update
pub const castTruncatedData = integerOutOfBounds;
/// Delete after next zig1.wasm update
pub const negativeToUnsigned = integerOutOfBounds;
pub fn copyLenMismatch() noreturn {
@branchHint(.cold);
call("source and destination arguments have non-equal lengths", @returnAddress());

View File

@ -120,13 +120,6 @@ pub fn forLenMismatch() noreturn {
@trap();
}
/// Delete after next zig1.wasm update
pub const memcpyLenMismatch = copyLenMismatch;
/// Delete after next zig1.wasm update
pub const castTruncatedData = integerOutOfBounds;
/// Delete after next zig1.wasm update
pub const negativeToUnsigned = integerOutOfBounds;
pub fn copyLenMismatch() noreturn {
@branchHint(.cold);
@trap();

View File

@ -116,13 +116,6 @@ pub fn forLenMismatch() noreturn {
call("for loop over objects with non-equal lengths", null);
}
/// Delete after next zig1.wasm update
pub const memcpyLenMismatch = copyLenMismatch;
/// Delete after next zig1.wasm update
pub const castTruncatedData = integerOutOfBounds;
/// Delete after next zig1.wasm update
pub const negativeToUnsigned = integerOutOfBounds;
pub fn copyLenMismatch() noreturn {
call("source and destination have non-equal lengths", null);
}