Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
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 }}
rust-lang
/
rust
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
16.1k
Star
119k
Code
Issues
5k+
Pull requests
1.4k
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Implement RFC 3631: add rustdoc doc_cfg features
- #138907
#138907
Merged
bors
merged 22 commits into
rust-lang:master
rust-lang/rust:master
from
GuillaumeGomez:rfc-3631
GuillaumeGomez/rust:rfc-3631
Copy head branch name to clipboard
Sep 27, 2025
Conversation
Commits
22
(22)
Checks
Files changed
Merged
Implement RFC 3631: add rustdoc doc_cfg features
#138907
bors
merged 22 commits into
rust-lang:master
rust-lang/rust:master
from
GuillaumeGomez:rfc-3631
GuillaumeGomez/rust:rfc-3631
Copy head branch name to clipboard
Commits
Commits on Sep 27, 2025
Implement RFC 3631
GuillaumeGomez
committed
7c00bcc
View commit details
Copy full SHA for 7c00bcc
Browse repository at this point
Update rustdoc tests
GuillaumeGomez
committed
6537278
View commit details
Copy full SHA for 6537278
Browse repository at this point
Add "global" rustdoc test for RFC 3631
GuillaumeGomez
committed
2d82c99
View commit details
Copy full SHA for 2d82c99
Browse repository at this point
Strenghten checks for `doc(auto_cfg(show/hide))` attributes
GuillaumeGomez
committed
63aefe0
View commit details
Copy full SHA for 63aefe0
Browse repository at this point
Remove useless code in `propagate_doc_cfg.rs`
GuillaumeGomez
committed
4847eaf
View commit details
Copy full SHA for 4847eaf
Browse repository at this point
Remove ui test for doc_cfg feature gate
GuillaumeGomez
committed
18df897
View commit details
Copy full SHA for 18df897
Browse repository at this point
Remove `doc_cfg` related content from rustdoc book unstable features chapter
GuillaumeGomez
committed
d6ba93a
View commit details
Copy full SHA for d6ba93a
Browse repository at this point
Update book for `doc_cfg` feature
GuillaumeGomez
committed
bb34332
View commit details
Copy full SHA for bb34332
Browse repository at this point
Rename `CfgInfo::doc_auto_cfg_active` into `auto_cfg_active`
GuillaumeGomez
committed
ed05315
View commit details
Copy full SHA for ed05315
Browse repository at this point
Put back the `doc_cfg` code behind a nightly feature
GuillaumeGomez
committed
c06a076
View commit details
Copy full SHA for c06a076
Browse repository at this point
Add code documentation, improve code and improve error message
GuillaumeGomez
committed
1561efe
View commit details
Copy full SHA for 1561efe
Browse repository at this point
Improve code and better check `doc(cfg(...))` attributes
GuillaumeGomez
committed
553308b
View commit details
Copy full SHA for 553308b
Browse repository at this point
Remove `doc_cfg_hide` feature
GuillaumeGomez
committed
fccba2c
View commit details
Copy full SHA for fccba2c
Browse repository at this point
fmt
GuillaumeGomez
committed
a7ed9bf
View commit details
Copy full SHA for a7ed9bf
Browse repository at this point
Fix autodiff feature activation
GuillaumeGomez
committed
ec00723
View commit details
Copy full SHA for ec00723
Browse repository at this point
Remove `cfg(bootstrap)` for `doc_cfg` feature following #141925
GuillaumeGomez
committed
254a213
View commit details
Copy full SHA for 254a213
Browse repository at this point
Fix `tests/rustdoc/target-feature.rs` test by adding missing `#![feature(doc_cfg)]`
GuillaumeGomez
committed
6fecff4
View commit details
Copy full SHA for 6fecff4
Browse repository at this point
Correctly handle target_feature in rustdoc cfg
GuillaumeGomez
committed
ef8b2a2
View commit details
Copy full SHA for ef8b2a2
Browse repository at this point
Improve code comments and extend tests for `doc_cfg` feature
GuillaumeGomez
committed
77885fe
View commit details
Copy full SHA for 77885fe
Browse repository at this point
Apply first review round suggestions
GuillaumeGomez
committed
653e103
View commit details
Copy full SHA for 653e103
Browse repository at this point
Improve code and fix typo
GuillaumeGomez
committed
9362ab5
View commit details
Copy full SHA for 9362ab5
Browse repository at this point
Remove `doc_auto_cfg` feature as well
GuillaumeGomez
committed
6cccea8
View commit details
Copy full SHA for 6cccea8
Browse repository at this point
You can’t perform that action at this time.