更新 rust_accel.py

This commit is contained in:
jxxghp
2026-05-23 21:19:46 +08:00
committed by GitHub
parent d6472088cb
commit 0273adc61c

View File

@@ -23,7 +23,7 @@ def is_config_enabled() -> bool:
"""
判断系统配置是否允许使用 Rust 加速。
"""
return bool(settings.RUST_ACCEL, True)
return bool(settings.RUST_ACCEL)
def is_enabled() -> bool: