From 5b850d5c9251900962e52154eb0fb9c2a344476d Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Thu, 20 May 2021 17:07:06 +0200 Subject: Run `zig fmt` on src/ and lib/std/ This replaces callconv(.Inline) with the more idiomatic inline keyword. --- lib/std/Thread.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/std/Thread.zig') diff --git a/lib/std/Thread.zig b/lib/std/Thread.zig index a85219a458..ad82e4beef 100644 --- a/lib/std/Thread.zig +++ b/lib/std/Thread.zig @@ -68,7 +68,7 @@ else switch (std.Target.current.os.tag) { }; /// Signals the processor that it is inside a busy-wait spin-loop ("spin lock"). -pub fn spinLoopHint() callconv(.Inline) void { +pub inline fn spinLoopHint() void { switch (std.Target.current.cpu.arch) { .i386, .x86_64 => { asm volatile ("pause" ::: "memory"); -- cgit v1.2.3