From c121bc0725f6e1bdb92c8ca64b07fec3f9cb38f2 Mon Sep 17 00:00:00 2001 From: iris <2+iris@noreply.localhost> Date: Tue, 8 Sep 2026 15:27:31 -0400 Subject: [PATCH] iris-android-app: FIELDS_PER_LINE is gated with the reader that uses it `cargo ndk check` on the default features warned that it was never used: its only reader is `line_fields`, which is `#[cfg(feature = "transcript-screen")]` because the tabs demo links no `client-core` and so has no ring to lay out. Co-Authored-By: Claude Opus 5 --- iris/android-app/src/devlog.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/iris/android-app/src/devlog.rs b/iris/android-app/src/devlog.rs index 6d6a608..7e9c022 100644 --- a/iris/android-app/src/devlog.rs +++ b/iris/android-app/src/devlog.rs @@ -30,6 +30,11 @@ use std::sync::OnceLock; /// `seq`, `t_ms`, `level`, `target`, `message`, in that order. The Java /// side has the same constant, and the two are the one place the shape is /// written down on each side. +/// +/// Gated with its one reader: the tabs demo links no `client-core` and so +/// has no ring to lay out, and an ungated constant is a warning in that +/// build (`iris-android-app` without `transcript-screen`). +#[cfg(feature = "transcript-screen")] const FIELDS_PER_LINE: usize = 5; /// The authority the provider registered itself under, once it has been