From 2a1696906344cb4da768a940bf8b1f89bbc82b47 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 22 May 2026 04:19:14 +0900 Subject: refactor: share Pool via Rc Convert Pool to Rc> so Solver, Decisions, and RuleSetGenerator share it, resolving the todo!() placeholders that blocked the dependency resolver (Phase C shared ownership). Co-Authored-By: Claude Opus 4.7 (1M context) --- crates/shirabe/src/util/http_downloader.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/shirabe/src/util/http_downloader.rs') diff --git a/crates/shirabe/src/util/http_downloader.rs b/crates/shirabe/src/util/http_downloader.rs index b5a4923..3072df2 100644 --- a/crates/shirabe/src/util/http_downloader.rs +++ b/crates/shirabe/src/util/http_downloader.rs @@ -124,7 +124,7 @@ impl HttpDownloader { let curl = if Self::is_curl_enabled() { Some(CurlDownloader::new( io.clone_box(), - std::rc::Rc::clone(&config), + config.clone(), options.clone(), disable_tls, )) @@ -134,7 +134,7 @@ impl HttpDownloader { let rfs = Some(RemoteFilesystem::new( io.clone_box(), - std::rc::Rc::clone(&config), + config.clone(), options.clone(), disable_tls, None, -- cgit v1.3.1