Remove uses of deprecated callconv aliases

This commit is contained in:
Linus Groh
2025-03-03 18:01:47 +00:00
parent 05937b362a
commit 79460d4a3e
251 changed files with 826 additions and 822 deletions

View File

@@ -23,7 +23,7 @@ noinline fn frame3(expected: *[5]usize, unwound: *[5]usize) void {
frame4(expected, unwound);
}
fn frame2(expected: *[5]usize, unwound: *[5]usize) callconv(.C) void {
fn frame2(expected: *[5]usize, unwound: *[5]usize) callconv(.c) void {
expected[2] = @returnAddress();
frame3(expected, unwound);
}
@@ -31,7 +31,7 @@ fn frame2(expected: *[5]usize, unwound: *[5]usize) callconv(.C) void {
extern fn frame0(
expected: *[5]usize,
unwound: *[5]usize,
frame_2: *const fn (expected: *[5]usize, unwound: *[5]usize) callconv(.C) void,
frame_2: *const fn (expected: *[5]usize, unwound: *[5]usize) callconv(.c) void,
) void;
pub fn main() !void {

View File

@@ -37,7 +37,7 @@ noinline fn frame0(expected: *[4]usize, unwound: *[4]usize) void {
}
// No-OS entrypoint
export fn _start() callconv(.C) noreturn {
export fn _start() callconv(.c) noreturn {
var expected: [4]usize = undefined;
var unwound: [4]usize = undefined;
frame0(&expected, &unwound);