Home
last modified time | relevance | path

Searched refs:rustdoc (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/rust/
DMakefile4 rustdoc_output := $(objtree)/Documentation/output/rust/rustdoc
68 --crate-name $(subst rustdoc-,,$@) \
83 rustdoc: rustdoc-core rustdoc-macros rustdoc-compiler_builtins \ target
84 rustdoc-alloc rustdoc-kernel
92 $(Q)for f in $(rustdoc_output)/static.files/rustdoc-*.css; do \
95 rustdoc-macros: private rustdoc_host = yes
96 rustdoc-macros: private rustc_target_flags = --crate-type proc-macro \
98 rustdoc-macros: $(src)/macros/lib.rs FORCE
99 +$(call if_changed,rustdoc)
101 rustdoc-core: private rustc_target_flags = $(core-cfgs)
[all …]
/linux-6.12.1/Documentation/translations/zh_CN/rust/
Dgeneral-information.rst20 Rust内核代码使用其内置的文档生成器 ``rustdoc`` 进行记录。
29 们,请使用 ``rustdoc`` 目标,并使用编译时使用的相同调用,例如::
31 make LLVM=1 rustdoc
35 xdg-open Documentation/output/rust/rustdoc/kernel/index.html
Dcoding-guidelines.rst98 代码的常用系统:rustdoc工具,它使用Markdown(一种轻量级的标记语言)。
132 这个例子展示了一些 ``rustdoc`` 的特性和内核中遵循的一些惯例:
147 - Rust项目(函数、类型、常量……)必须有适当的链接(``rustdoc`` 会自动创建一个
156 要了解更多关于如何编写Rust和拓展功能的文档,请看看 ``rustdoc`` 这本书,网址是:
158 https://doc.rust-lang.org/rustdoc/how-to-write-documentation.html
Dquick-start.rst166 rustdoc section in 开发依赖
169 ``rustdoc`` 是Rust的文档工具。它为Rust代码生成漂亮的HTML文档(详情请见 general-information.rst )。
171 ``rustdoc`` 也被用来测试文档化的Rust代码中提供的例子(称为doctests或文档测试)。
176 独立的安装程序也带有 ``rustdoc`` 。
/linux-6.12.1/Documentation/rust/
Dindex.rst32 i.e. HTML rendered by the ``rustdoc`` tool.
34 .. only:: rustdoc and html
37 <rustdoc/kernel/index.html>`_.
39 .. only:: not rustdoc and html
Dgeneral-information.rst23 Rust kernel code is documented using ``rustdoc``, its built-in documentation
42 the particular kernel configuration used. To generate them, use the ``rustdoc``
45 make LLVM=1 rustdoc
49 xdg-open Documentation/output/rust/rustdoc/kernel/index.html
Dcoding-guidelines.rst109 Instead, the usual system for documenting Rust code is used: the ``rustdoc``
145 This example showcases a few ``rustdoc`` features and some conventions followed
165 (``rustdoc`` will create a link automatically).
176 please take a look at the ``rustdoc`` book at:
178 https://doc.rust-lang.org/rustdoc/how-to-write-documentation.html
Dquick-start.rst238 rustdoc section in Requirements: Developing
241 ``rustdoc`` is the documentation tool for Rust. It generates pretty HTML
245 ``rustdoc`` is also used to test the examples provided in documented Rust code
252 The standalone installers also come with ``rustdoc``.
Dtesting.rst63 In userspace, the tests are collected and run via ``rustdoc``. Using the tool
/linux-6.12.1/Documentation/
DMakefile69 ALLSPHINXOPTS += -t rustdoc
130 $(Q)$(MAKE) rustdoc || true
DChanges400 rustdoc
403 ``rustdoc`` is used to generate the documentation for Rust code. Please see
/linux-6.12.1/Documentation/process/
Dchanges.rst400 rustdoc subsection
403 ``rustdoc`` is used to generate the documentation for Rust code. Please see
/linux-6.12.1/
DMakefile493 RUSTDOC = rustdoc
1734 PHONY += rustdoc
1735 rustdoc: prepare target