aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/main.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-27 05:11:32 +0900
committernsfisis <nsfisis@gmail.com>2026-06-27 05:11:51 +0900
commitf87b930a5bf21d2f60a53151599e0953b7c1f99e (patch)
tree617b5e94d7d4384727da6826c632d8695e9facb7 /crates/shirabe/src/main.rs
parent6d53dd16759df8b2cde09047ddcf460652034fd9 (diff)
downloadphp-shirabe-f87b930a5bf21d2f60a53151599e0953b7c1f99e.tar.gz
php-shirabe-f87b930a5bf21d2f60a53151599e0953b7c1f99e.tar.zst
php-shirabe-f87b930a5bf21d2f60a53151599e0953b7c1f99e.zip
feat(php-shim): drop shutdown function shim, defer OOM message to PHP
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/main.rs')
-rw-r--r--crates/shirabe/src/main.rs3
1 files changed, 1 insertions, 2 deletions
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) => {