mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2024-11-27 17:30:38 +00:00
Rustdoc works in buck2, but needs extern-html-root-url
This commit is contained in:
parent
89827822ea
commit
6dcd9971ec
@ -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"),
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user