From 52f01b51fd066f4feda3e25367d38d80e449cf41 Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Tue, 10 May 2022 00:53:53 +0300 Subject: [PATCH] Fix an incorrect `#[link]` attribute --- src/timer/posix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timer/posix.rs b/src/timer/posix.rs index 9623d15..42cd860 100644 --- a/src/timer/posix.rs +++ b/src/timer/posix.rs @@ -69,7 +69,7 @@ mod ffi { pub fn timer_delete(timerid: timer_t); } - #[link(name = "os-timer-posix-c", lind = "static")] + #[link(name = "os-timer-posix-c", kind = "static")] extern "C" { pub fn posix_timer(clock: libc::c_int, cb: Callback, data: *mut libc::c_void) -> timer_t; }