mirror of
https://github.com/ziglang/zig.git
synced 2025-12-23 22:53:06 +00:00
std: remove old panic handlers after zig1.wasm update
This commit is contained in:
parent
cc047fdd95
commit
fd72b38f68
@ -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());
|
||||
|
||||
@ -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();
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user