refactor(runtime): clean scalar globals (#4094)

This commit is contained in:
Zhengchao An
2026-06-30 04:52:23 +08:00
committed by GitHub
parent 77e45896ba
commit 90f9c24503
3 changed files with 20 additions and 10 deletions
@@ -2685,7 +2685,7 @@ fi
(
cd "$ROOT_DIR"
rg -n --with-filename '\bGLOBAL_(REGION|RUSTFS_PORT)\b|\bglobalDeploymentIDPtr\b|\bruntime::global::global_rustfs_port\b' \
rg -n --with-filename '\bGLOBAL_(DEPLOYMENT_ID|REGION|RUSTFS_PORT)\b|\bglobalDeploymentIDPtr\b|\bruntime::global::global_rustfs_port\b' \
crates rustfs fuzz \
--glob '*.rs' |
rg -v '^(crates/common/src/globals|crates/ecstore/src/runtime/(global|sources))\.rs:' || true