From 4608eede025d979274a3ce0cfae86bbe5875fa50 Mon Sep 17 00:00:00 2001 From: Luke Curley Date: Mon, 19 Oct 2026 00:49:57 -0700 Subject: [PATCH] fix(relay): gate the systemd extension constant on unix EXTEND_USEC is only read under #[cfg(unix)], so Windows builds flag it as dead code and build.warnings fails the Windows platform gate. Co-Authored-By: Claude Opus 5.5 --- rs/moq-relay/src/acme.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rs/moq-relay/src/acme.rs b/rs/moq-relay/src/acme.rs index 7532c73e69b..52c0165bcee 100644 --- a/rs/moq-relay/src/acme.rs +++ b/rs/moq-relay/src/acme.rs @@ -27,6 +27,7 @@ const DEFAULT_TIMEOUT: Duration = Duration::from_secs(5 * 60); const CHALLENGE_TIMEOUT: Duration = Duration::from_secs(10); /// How long each systemd start-timeout extension lasts while issuance is pending. +#[cfg(unix)] const EXTEND_USEC: u32 = 90_000_000; /// How often the start timeout is extended, well inside [`EXTEND_USEC`].