Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
gqf2008
abb
Repository navigation
Code
Pull requests
Actions
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
abb
/
rust-toolchain.toml
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
23 lines (23 loc) · 1.6 KB
main
Breadcrumbs
abb
/
rust-toolchain.toml
Copy path
Top
File metadata and controls
Code
Blame
23 lines (23 loc) · 1.6 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 钉住工具链:让「clippy 门禁是否绿」成为**可复现**的事实,而不是取决于本机上次
# `rustup update` 是哪天。
#
# 为什么必须有(卡 abb-clippy-gate-red-on-main-20261022):
# 1. clippy 的 lint 集合与默认级别随版本变化。仓库原先没有本文件,CI 里 8 处都是
# `dtolnay/rust-toolchain@stable`(浮动)⇒ 同一个 commit 在不同机器/不同月份可能
# 一绿一红,而「门禁」的全部意义就是**可复现**。
# 2. 2026-10-11 卡 `abb-macos-clippy-gate-20261011` 把 clippy 修到 exit 0;之后
# 10-14~10-17 的若干提交(syschat v11 批、macOS 窗口改造)又攒出 25 条基线红,
# 而每次自述都是「零新增」——因为基线一红,「不比 base 更红」就成了事实上的标准。
# 「零新增」是相对量,会允许红色无限累积;只有绝对量(exit 0)才是门禁。
#
# 版本选择依据:本机实测 1.99.0 下清完 25 条后 exit 0。版本必须 **≥ 1.85**
# (`crates/abb-chart` 的 rust-version;charton 0.8 是 edition 2024),且 ≥ 1.78
# (`crates/abb-agent` 的 MSRV 声明)——1.99.0 同时满足。
#
# 升级工具链时请**同时**做三件事:① 改本文件;② 改 .github/workflows/*.yml 里
# `dtolnay/rust-toolchain@stable` 为同版本;③ 在本机重跑
# `cargo clippy --all-targets -- -D warnings` 并确保仍 exit 0(新版本会加新 lint,
# 升版本等于自愿接受新增的清理工作——这正是要让它在一次提交里显式发生的原因)。
[toolchain]
channel = "1.99.0"
components = ["rustfmt", "clippy"]
You can’t perform that action at this time.