From 5e31fa33c3b5cf726a57a063b8e7a070869250fe Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 19 May 2026 21:46:01 +0900 Subject: fix(compile): fix more random compile errors Co-Authored-By: Claude Opus 4.7 (1M context) --- crates/shirabe/src/downloader/rar_downloader.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'crates/shirabe/src/downloader/rar_downloader.rs') diff --git a/crates/shirabe/src/downloader/rar_downloader.rs b/crates/shirabe/src/downloader/rar_downloader.rs index 51feadb..afc2f12 100644 --- a/crates/shirabe/src/downloader/rar_downloader.rs +++ b/crates/shirabe/src/downloader/rar_downloader.rs @@ -28,12 +28,12 @@ pub struct RarDownloader { impl RarDownloader { pub fn new( io: Box, - config: Config, - http_downloader: HttpDownloader, + config: std::rc::Rc>, + http_downloader: std::rc::Rc>, event_dispatcher: Option, cache: Option, - filesystem: Filesystem, - process: ProcessExecutor, + filesystem: std::rc::Rc>, + process: std::rc::Rc>, ) -> Self { Self { inner: FileDownloader::new( @@ -67,7 +67,7 @@ impl RarDownloader { ]; let mut process_output = PhpMixed::Null; - if self.inner.process.execute( + if self.inner.process.borrow_mut().execute( PhpMixed::List( command .iter() @@ -84,7 +84,7 @@ impl RarDownloader { process_error = Some(format!( "Failed to execute {}\n\n{}", implode(" ", &command), - self.inner.process.get_error_output(), + self.inner.process.borrow().get_error_output(), )); } -- cgit v1.3.1