Skip to content

Commit

Permalink
Point standard library links to stable
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Feb 20, 2025
1 parent 36920b1 commit a12fe8b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,15 @@ rust-version = "1.56"

[package.metadata.docs.rs]
rustc-args = ["--cfg=procmacro2_semver_exempt"]
rustdoc-args = ["--cfg=procmacro2_semver_exempt", "--generate-link-to-definition"]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = [
"--cfg=procmacro2_semver_exempt",
"--generate-link-to-definition",
"--extern-html-root-url=core=https://doc.rust-lang.org",
"--extern-html-root-url=alloc=https://doc.rust-lang.org",
"--extern-html-root-url=std=https://doc.rust-lang.org",
"--extern-html-root-url=proc_macro=https://doc.rust-lang.org",
]

[package.metadata.playground]
features = ["span-locations"]
Expand Down

0 comments on commit a12fe8b

Please sign in to comment.