diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-11 20:14:53 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-11 20:14:53 +0900 |
| commit | 8b7abe99d8c351d6f0e83aca9e12bbb8c3ea8182 (patch) | |
| tree | 80678d8c3babf71d8bb8265dac9016bb58c9eba1 /crates/shirabe-php-shim/src/lib.rs | |
| parent | 410858be0520a519531034fcd6c9331a30bc91d2 (diff) | |
| download | php-shirabe-8b7abe99d8c351d6f0e83aca9e12bbb8c3ea8182.tar.gz php-shirabe-8b7abe99d8c351d6f0e83aca9e12bbb8c3ea8182.tar.zst php-shirabe-8b7abe99d8c351d6f0e83aca9e12bbb8c3ea8182.zip | |
refactor(argv): use std::env::args instead of server_argv shim
The server_argv() shim merely wrapped command-line arguments, so call
std::env::args() directly at each use site and drop the unused shim.
Diffstat (limited to 'crates/shirabe-php-shim/src/lib.rs')
| -rw-r--r-- | crates/shirabe-php-shim/src/lib.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs index 9255ee7..1bcd03c 100644 --- a/crates/shirabe-php-shim/src/lib.rs +++ b/crates/shirabe-php-shim/src/lib.rs @@ -1820,10 +1820,6 @@ pub fn server_contains_key(_name: &str) -> bool { todo!() } -pub fn server_argv() -> Vec<String> { - todo!() -} - /// PHP superglobal $_ENV access pub fn env_get(_name: &str) -> Option<String> { todo!() |
