| author | |
| committer | |
| log | 413b789e06bfc98bd285f0a340bd537b1d2c9dec |
| tree | d2508acf24f429fab50285b74aa21311f1dea547 |
| parent | 496eb69273d363f21ca3923f00714b229882e42a |
1 files changed, 4 insertions(+), 1 deletions(-)
lib/std/os/linux/arm-eabi.zig+4-1| ... | ... | @@ -99,7 +99,10 @@ pub fn syscall6( |
| 99 | 99 | |
| 100 | 100 | /// This matches the libc clone function. |
| 101 | 101 | pub 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 | }, | |
| 103 | 106 | stack: usize, |
| 104 | 107 | flags: u32, |
| 105 | 108 | arg: usize, |