Changeset 24ecd679


Ignore:
Timestamp:
06/01/2023 11:09:45 AM (11 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.1, kea, ken/TL2024, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
48d48bdd
Parents:
185bfd71
git-author:
Xi Ruoyao <xry111@…> (06/01/2023 10:52:47 AM)
git-committer:
Xi Ruoyao <xry111@…> (06/01/2023 11:09:45 AM)
Message:

rust: Add rustdoc into build.tools

The rustdoc program is a part of rustup default install. And it was
installed with previous rustc releases even if we didn't specify it in
build.tools (so it's in the "contents and short descriptions" section).
But with rustc-1.69 it's not installed if we don't explicitly add it
into build.tools.

It's needed by "cargo doc" command (I use it when I develop Rust
crates), and also some BLFS packages (at least, the testsuite of
librsvg).

Add rustdoc into build.tools so it will be built and installed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/rust.xml

    r185bfd71 r24ecd679  
    283283
    284284# Specify which extended tools (those from the default install).
    285 tools = ["cargo", "clippy", "rustfmt"]
     285tools = ["cargo", "clippy", "rustdoc", "rustfmt"]
    286286
    287287# Use the source code shipped in the tarball for the dependencies.
     
    441441
    442442    <para>
    443       <command>tools = ["cargo", "clippy", "rustfmt"]</command>: if the tools
    444       are not scecified, the absence of <application>Miri</application> now
    445       causes the install to fail. But <application>Miri</application> is not
    446       built in the stable channel. Some of the other tools are unlikely to
    447       be useful unless using (old) code analyzers or editing the standard library.
    448       This set match those from the 'default' profile in binary command
    449       <command>rustup</command> which are recommended for most users, except that
    450       the documentation was disabled at the start of the '[build]' section.
     443      <command>tools = ["cargo", "clippy", "rustdoc", "rustfmt"]</command>:
     444      only build the tools from the 'default' profile in binary command
     445      <command>rustup</command> which are recommended for most users.
     446      The other tools are unlikely to be useful unless using (old) code
     447      analyzers or editing the standard library.
    451448    </para>
    452449
Note: See TracChangeset for help on using the changeset viewer.