Home
last modified time | relevance | path

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

/linux-6.15/rust/
H A DMakefile74 --crate-name $(subst rustdoc-,,$@) \
89 rustdoc: rustdoc-core rustdoc-macros rustdoc-compiler_builtins \ target
90 rustdoc-kernel rustdoc-pin_init
101 rustdoc-macros: private rustdoc_host = yes
105 +$(call if_changed,rustdoc)
112 +$(call if_changed,rustdoc)
114 rustdoc-compiler_builtins: $(src)/compiler_builtins.rs rustdoc-core FORCE
115 +$(call if_changed,rustdoc)
117 rustdoc-ffi: $(src)/ffi.rs rustdoc-core FORCE
118 +$(call if_changed,rustdoc)
[all …]
/linux-6.15/Documentation/translations/zh_CN/rust/
H A Dgeneral-information.rst20 Rust内核代码使用其内置的文档生成器 ``rustdoc`` 进行记录。
29 们,请使用 ``rustdoc`` 目标,并使用编译时使用的相同调用,例如::
31 make LLVM=1 rustdoc
35 xdg-open Documentation/output/rust/rustdoc/kernel/index.html
H A 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
H A Dquick-start.rst166 rustdoc section in 开发依赖
169 ``rustdoc`` 是Rust的文档工具。它为Rust代码生成漂亮的HTML文档(详情请见 general-information.rst )。
171 ``rustdoc`` 也被用来测试文档化的Rust代码中提供的例子(称为doctests或文档测试)。
176 独立的安装程序也带有 ``rustdoc`` 。
/linux-6.15/Documentation/rust/
H A 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
H A 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
H A 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
H A Dquick-start.rst255 rustdoc section in Requirements: Developing
258 ``rustdoc`` is the documentation tool for Rust. It generates pretty HTML
262 ``rustdoc`` is also used to test the examples provided in documented Rust code
269 The standalone installers also come with ``rustdoc``.
H A Dtesting.rst63 In userspace, the tests are collected and run via ``rustdoc``. Using the tool
/linux-6.15/Documentation/
H A DMakefile69 ALLSPHINXOPTS += -t rustdoc
130 $(Q)$(MAKE) rustdoc || true
H A DChanges399 rustdoc
402 ``rustdoc`` is used to generate the documentation for Rust code. Please see
/linux-6.15/Documentation/process/
H A Dchanges.rst399 rustdoc subsection
402 ``rustdoc`` is used to generate the documentation for Rust code. Please see
/linux-6.15/
H A DMakefile520 RUSTDOC = rustdoc
1812 PHONY += rustdoc
1813 rustdoc: prepare target