Rustdoc works in buck2, but needs extern-html-root-url

This commit is contained in:
David Tolnay 2022-12-06 16:59:46 -08:00
parent 89827822ea
commit 6dcd9971ec
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -88,6 +88,7 @@ def _rust_toolchain(ctx):
rustc_flags = ["-Clink-arg=-fuse-ld=lld"], rustc_flags = ["-Clink-arg=-fuse-ld=lld"],
rustc_target_triple = "x86_64-unknown-linux-gnu", rustc_target_triple = "x86_64-unknown-linux-gnu",
rustdoc = "rustdoc", rustdoc = "rustdoc",
rustdoc_flags = ["-Zunstable-options"], # doc builds use unstable '--extern-html-root-url'
), ),
RustPlatformInfo(name = "x86_64"), RustPlatformInfo(name = "x86_64"),
] ]