Skip to content

Commit a12fe8b

Browse files
committed
Point standard library links to stable
1 parent 36920b1 commit a12fe8b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Cargo.toml

+8-1
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,15 @@ rust-version = "1.56"
1414

1515
[package.metadata.docs.rs]
1616
rustc-args = ["--cfg=procmacro2_semver_exempt"]
17-
rustdoc-args = ["--cfg=procmacro2_semver_exempt", "--generate-link-to-definition"]
1817
targets = ["x86_64-unknown-linux-gnu"]
18+
rustdoc-args = [
19+
"--cfg=procmacro2_semver_exempt",
20+
"--generate-link-to-definition",
21+
"--extern-html-root-url=core=https://doc.rust-lang.org",
22+
"--extern-html-root-url=alloc=https://doc.rust-lang.org",
23+
"--extern-html-root-url=std=https://doc.rust-lang.org",
24+
"--extern-html-root-url=proc_macro=https://doc.rust-lang.org",
25+
]
1926

2027
[package.metadata.playground]
2128
features = ["span-locations"]

0 commit comments

Comments
 (0)