diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-12-06 14:12:01 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-12-06 14:12:01 -0500 |
| commit | 343987cd057c5f2f0aad197518d7d573579d0d08 (patch) | |
| tree | 733e506597f80f4aeb040dc7c931d77c2d0dbcaf /lib/std/os/linux.zig | |
| parent | ef83358eb6702e8541816817e98c3e7279033672 (diff) | |
| download | zig-343987cd057c5f2f0aad197518d7d573579d0d08.tar.gz zig-343987cd057c5f2f0aad197518d7d573579d0d08.zip | |
remove `@inlineCall` from zig
Diffstat (limited to 'lib/std/os/linux.zig')
| -rw-r--r-- | lib/std/os/linux.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/os/linux.zig b/lib/std/os/linux.zig index e3d84e1e63..907fd24db1 100644 --- a/lib/std/os/linux.zig +++ b/lib/std/os/linux.zig @@ -94,7 +94,7 @@ pub fn fork() usize { /// the compiler is not aware of how vfork affects control flow and you may /// see different results in optimized builds. pub inline fn vfork() usize { - return @inlineCall(syscall0, SYS_vfork); + return @call(.{ .modifier = .always_inline }, syscall0, .{SYS_vfork}); } pub fn futimens(fd: i32, times: *const [2]timespec) usize { |
