mirror of
https://github.com/astral-sh/ruff.git
synced 2026-10-28 10:45:37 +08:00
## Summary Make `opt-level = 1`, `debug = "line-tables-only"`, and `lto = "off"` the default development settings. This makes ordinary Cargo commands match our existing agent workflow, avoids local ThinLTO, and removes repeated profile overrides from `AGENTS.md`. Preserve existing unoptimized CI behavior by explicitly setting `CARGO_PROFILE_DEV_OPT_LEVEL=0` and `CARGO_PROFILE_DEV_LTO=false` in the affected workflows, including documentation generation, playground validation, typeshed synchronization, typing conformance, and daily fuzzing. Existing CI commands, cache configuration, and cache producers remain unchanged. Release and profiling settings are unaffected. This follows the discussion in https://github.com/astral-sh/ruff/pull/27526#issuecomment-5206579931.