Skip to contentSkip to conversation

How to properly ship rustdoc binary when building rust-native 1.71+

DISCUSSION Yu, Max 1 participant 1 message Jan 25, 2024

lore
Share & tools
lore

Yu, Max

author
#0 lore raw

Hi,

With the newest rust recipe change https://git.yoctoproject.org/poky/commit/?id=321aebfa281bd28e368c684ece57867f6bd0cbe7, I noticed that building rust-native no longer builds the rustdoc binary. Specifically, the additional line of config.set("build", "tools", ["rust-demangler",]) disables the rustdoc binary. (I’ve also had to effectively revert https://git.yoctoproject.org/poky/commit/?id=3e50e45917831d9da2d86e69fb908a1a78483b62 with bbappends, in order to build rust-native with the rust doc.)

Is this intended? If so, how is it recommended to reenable the rustdoc binary?

Thanks,
Max