diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-16 16:25:37 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-16 17:34:46 +0900 |
| commit | 1747352a5b4995eee390ba9eba2e77ec2c1e4586 (patch) | |
| tree | 492be0a100f3bf9ca6fa1989010632276a6495ed /crates/shirabe/src/dependency_resolver.rs | |
| parent | 4065d8842beb5d1648131bd5b1951adf7a27b5b7 (diff) | |
| download | php-shirabe-1747352a5b4995eee390ba9eba2e77ec2c1e4586.tar.gz php-shirabe-1747352a5b4995eee390ba9eba2e77ec2c1e4586.tar.zst php-shirabe-1747352a5b4995eee390ba9eba2e77ec2c1e4586.zip | |
build(linters): forbid direct std::env access
PHP keeps three separate environment storages and docs/dev/env-vars-
porting.md maps each to its own shim construct. Reaching for std::env
silently picks one, so the porting target has to be chosen by reading
the PHP source rather than by whichever Rust call is at hand.
Detect var/var_os/vars/vars_os/set_var/remove_var. current_dir, args,
consts, temp_dir, current_exe and the path split/join helpers are not
environment storage and stay allowed.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/dependency_resolver.rs')
0 files changed, 0 insertions, 0 deletions
