diff options
author | David Tolnay <dtolnay@gmail.com> | 2022-12-06 16:59:46 -0800 |
---|---|---|
committer | David Tolnay <dtolnay@gmail.com> | 2022-12-06 16:59:46 -0800 |
commit | 6dcd9971ec7b0414ae371025b6edb352990664f3 (patch) | |
tree | 5546a1a3e9a678a66e0d6f761a7650c7864fd08f | |
parent | 89827822eac1cd287c55385f84f1acb1527da36d (diff) | |
download | cxx-6dcd9971ec7b0414ae371025b6edb352990664f3.tar.gz |
Rustdoc works in buck2, but needs extern-html-root-url
-rw-r--r-- | tools/buck/toolchains/toolchain.bzl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/buck/toolchains/toolchain.bzl b/tools/buck/toolchains/toolchain.bzl index 66e08cc2..6492cb17 100644 --- a/tools/buck/toolchains/toolchain.bzl +++ b/tools/buck/toolchains/toolchain.bzl @@ -88,6 +88,7 @@ def _rust_toolchain(ctx): rustc_flags = ["-Clink-arg=-fuse-ld=lld"], rustc_target_triple = "x86_64-unknown-linux-gnu", rustdoc = "rustdoc", + rustdoc_flags = ["-Zunstable-options"], # doc builds use unstable '--extern-html-root-url' ), RustPlatformInfo(name = "x86_64"), ] |