From f87b930a5bf21d2f60a53151599e0953b7c1f99e Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 27 Jun 2026 05:11:32 +0900 Subject: feat(php-shim): drop shutdown function shim, defer OOM message to PHP Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/shirabe/src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'crates/shirabe/src/main.rs') diff --git a/crates/shirabe/src/main.rs b/crates/shirabe/src/main.rs index 538d89d..e3cb963 100644 --- a/crates/shirabe/src/main.rs +++ b/crates/shirabe/src/main.rs @@ -1,6 +1,6 @@ //! ref: composer/bin/composer -use shirabe_php_shim::{PHP_ENV, PHP_SERVER, run_shutdown_functions}; +use shirabe_php_shim::{PHP_ENV, PHP_SERVER}; fn main() { // Take the $_ENV / $_SERVER snapshots before any putenv() mutates the real environment. @@ -9,7 +9,6 @@ fn main() { std::sync::LazyLock::force(&PHP_SERVER); let result = shirabe::run(std::env::args().collect()); - run_shutdown_functions(); let mut exit_code = match result { Ok(exit_code) => exit_code, Err(e) => { -- cgit v1.3.1