From 04007a18dd763fd0235ef7c8682e1ff92378f7ef Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 8 Oct 2026 11:04:47 +0000 Subject: [PATCH 1/2] Initial plan From 0440d0922be258e5856f651085bb0cd6d397aa71 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 8 Oct 2026 11:05:19 +0000 Subject: [PATCH 2/2] Apply remaining changes Co-authored-by: nunoplopes <2998477+nunoplopes@users.noreply.github.com> --- rules/time/tgt_refcount.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rules/time/tgt_refcount.rs b/rules/time/tgt_refcount.rs index c1550b026..5c3b48694 100644 --- a/rules/time/tgt_refcount.rs +++ b/rules/time/tgt_refcount.rs @@ -164,15 +164,15 @@ fn f8(a0: Ptr, a1: AnyPtr) -> i32 { } } -unsafe fn f9() -> nix::time::ClockId { +fn f9() -> nix::time::ClockId { nix::time::ClockId::CLOCK_REALTIME } -unsafe fn f10() -> nix::time::ClockId { +fn f10() -> nix::time::ClockId { nix::time::ClockId::CLOCK_MONOTONIC } #[cfg(target_os = "linux")] -unsafe fn f11() -> nix::time::ClockId { +fn f11() -> nix::time::ClockId { nix::time::ClockId::CLOCK_MONOTONIC_RAW }