authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-03-03 12:01:17-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-03-03 12:01:17-05:00
log582db68a157520a0cf7777807f466d1f6a2e31e7
treeac5090574063b3b624f4a97feb5c3acaa6f8180f
parenta6fb6dcfc96ad63f9a21110165728da0b8311660
signaturelock-open Commit is signed but in an unrecognized format.

remove superfluous comptime keyword


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

lib/std/os/linux.zig+4-4
...@@ -6,7 +6,7 @@...@@ -6,7 +6,7 @@
6// provide `rename` when only the `renameat` syscall exists.6// provide `rename` when only the `renameat` syscall exists.
7// * Does not support POSIX thread cancellation.7// * Does not support POSIX thread cancellation.
8const std = @import("../std.zig");8const std = @import("../std.zig");
9const builtin = @import("builtin");9const builtin = std.builtin;
10const assert = std.debug.assert;10const assert = std.debug.assert;
11const maxInt = std.math.maxInt;11const maxInt = std.math.maxInt;
12const elf = std.elf;12const elf = std.elf;
...@@ -42,9 +42,9 @@ pub fn getauxval(index: usize) usize {...@@ -42,9 +42,9 @@ pub fn getauxval(index: usize) usize {
42// Some architectures require 64bit parameters for some syscalls to be passed in42// Some architectures require 64bit parameters for some syscalls to be passed in
43// even-aligned register pair43// even-aligned register pair
44const require_aligned_register_pair = //44const require_aligned_register_pair = //
45 comptime builtin.arch.isMIPS() or45 std.Target.current.cpu.arch.isMIPS() or
46 comptime builtin.arch.isARM() or46 std.Target.current.cpu.arch.isARM() or
47 comptime builtin.arch.isThumb();47 std.Target.current.cpu.arch.isThumb();
4848
49/// Get the errno from a syscall return value, or 0 for no error.49/// Get the errno from a syscall return value, or 0 for no error.
50pub fn getErrno(r: usize) u12 {50pub fn getErrno(r: usize) u12 {