From 7439cdb08afe0882186a34f70c1e8878fcb7dca5 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 8 Jun 2026 04:30:56 +0900 Subject: feat(phase-c): resolve static-property phase-b TODOs Implement the FileDownloader::$downloadMetadata accessors over the existing DOWNLOAD_METADATA static, and drop now-stale TODOs on the already-correct Platform::strlen function-local static and the ClassLoader include-closure no-op. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/shirabe/src/util/platform.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'crates/shirabe/src/util/platform.rs') diff --git a/crates/shirabe/src/util/platform.rs b/crates/shirabe/src/util/platform.rs index bb5ce1b..3866a12 100644 --- a/crates/shirabe/src/util/platform.rs +++ b/crates/shirabe/src/util/platform.rs @@ -270,7 +270,6 @@ impl Platform { /// @return int return a guaranteed binary length of the string, regardless of silly mbstring configs pub fn strlen(str: &str) -> i64 { - // TODO(phase-b): function-local static; collapse to a Mutex> in Phase B static USE_MB_STRING: Mutex> = Mutex::new(None); let mut use_mb_string = USE_MB_STRING.lock().unwrap(); if use_mb_string.is_none() { -- cgit v1.3.1