Starting 2026-05-01, docs.rs will change its default build behavior: instead of building documentation for five targets, it will only build for the default target (x86_64-unknown-linux-gnu) unless additional targets are explicitly specified in Cargo.toml metadata. Crates needing multi-target docs must define a full targets list

2m read timeFrom blog.rust-lang.org
Post cover image
Table of contents
How is the default target chosen?How do I build documentation for additional targets?
1 Comment

Sort: