authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-05-05 11:32:53-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-05-05 22:29:25-07:00
log413b789e06bfc98bd285f0a340bd537b1d2c9dec
treed2508acf24f429fab50285b74aa21311f1dea547
parent496eb69273d363f21ca3923f00714b229882e42a

std.os.linux.arm-eabi: upgrade to new fn ptr semantics


1 files changed, 4 insertions(+), 1 deletions(-)

lib/std/os/linux/arm-eabi.zig+4-1
......@@ -99,7 +99,10 @@ pub fn syscall6(
9999
100100/// This matches the libc clone function.
101101pub extern fn clone(
102 func: fn (arg: usize) callconv(.C) u8,
102 func: switch (@import("builtin").zig_backend) {
103 .stage1 => fn (arg: usize) callconv(.C) u8,
104 else => *const fn (arg: usize) callconv(.C) u8,
105 },
103106 stack: usize,
104107 flags: u32,
105108 arg: usize,