aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/platform
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-20 08:33:49 +0900
committernsfisis <nsfisis@gmail.com>2026-05-20 08:33:57 +0900
commitf31b101ce1e921a026ba234b1f0a83b0392bc118 (patch)
treeb7ac2aa84d71ebd162cc21aeab0240e7e0544988 /crates/shirabe/src/platform
parent5e31fa33c3b5cf726a57a063b8e7a070869250fe (diff)
downloadphp-shirabe-f31b101ce1e921a026ba234b1f0a83b0392bc118.tar.gz
php-shirabe-f31b101ce1e921a026ba234b1f0a83b0392bc118.tar.zst
php-shirabe-f31b101ce1e921a026ba234b1f0a83b0392bc118.zip
fix(compile): fix all remaining compile errors
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/platform')
-rw-r--r--crates/shirabe/src/platform/hhvm_detector.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/shirabe/src/platform/hhvm_detector.rs b/crates/shirabe/src/platform/hhvm_detector.rs
index 4e40a00..1fd3fee 100644
--- a/crates/shirabe/src/platform/hhvm_detector.rs
+++ b/crates/shirabe/src/platform/hhvm_detector.rs
@@ -51,7 +51,7 @@ impl HhvmDetector {
let hhvm_path = finder.find("hhvm", None, &[]);
if let Some(hhvm_path) = hhvm_path {
let executor = self.process_executor.get_or_insert_with(|| {
- std::rc::Rc::new(std::cell::RefCell::new(ProcessExecutor::new(None)))
+ std::rc::Rc::new(std::cell::RefCell::new(ProcessExecutor::new(())))
});
let mut version_output = shirabe_php_shim::PhpMixed::Null;
let cmd = shirabe_php_shim::PhpMixed::List(
@@ -69,7 +69,7 @@ impl HhvmDetector {
);
let exit_code = executor
.borrow_mut()
- .execute(cmd, Some(&mut version_output), None)
+ .execute(cmd, Some(&mut version_output), ())
.unwrap_or(1);
if exit_code == 0 {
*cache = Some(version_output.as_string().map(|s| s.to_string()));