Home
last modified time | relevance | path

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

/linux-6.6.21/rust/
DMakefile4 rustdoc_output := $(objtree)/Documentation/output/rust/rustdoc
80 --crate-name $(subst rustdoc-,,$@) \
94 rustdoc: rustdoc-core rustdoc-macros rustdoc-compiler_builtins \ target
95 rustdoc-alloc rustdoc-kernel
102 $(Q)for f in $(rustdoc_output)/static.files/rustdoc-*.css; do \
105 rustdoc-macros: private rustdoc_host = yes
106 rustdoc-macros: private rustc_target_flags = --crate-type proc-macro \
108 rustdoc-macros: $(src)/macros/lib.rs FORCE
109 $(call if_changed,rustdoc)
111 rustdoc-core: private rustc_target_flags = $(core-cfgs)
[all …]
/linux-6.6.21/Documentation/rust/
Dindex.rst9 .. only:: rustdoc and html
11 You can also browse `rustdoc documentation <rustdoc/kernel/index.html>`_.
13 .. only:: not rustdoc and html
15 This documentation does not include rustdoc generated information.
Dgeneral-information.rst13 Rust kernel code is documented using ``rustdoc``, its built-in documentation
25 the particular kernel configuration used. To generate them, use the ``rustdoc``
28 make LLVM=1 rustdoc
32 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.rst177 rustdoc section in Requirements: Developing
180 ``rustdoc`` is the documentation tool for Rust. It generates pretty HTML
184 ``rustdoc`` is also used to test the examples provided in documented Rust code
191 The standalone installers also come with ``rustdoc``.
/linux-6.6.21/Documentation/translations/zh_CN/rust/
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
Dgeneral-information.rst20 Rust内核代码使用其内置的文档生成器 ``rustdoc`` 进行记录。
29 们,请使用 ``rustdoc`` 目标,并使用编译时使用的相同调用,例如::
31 make LLVM=1 rustdoc
Dquick-start.rst146 rustdoc section in 开发依赖
149 ``rustdoc`` 是Rust的文档工具。它为Rust代码生成漂亮的HTML文档(详情请见 general-information.rst )。
151 ``rustdoc`` 也被用来测试文档化的Rust代码中提供的例子(称为doctests或文档测试)。
156 独立的安装程序也带有 ``rustdoc`` 。
/linux-6.6.21/Documentation/
DMakefile65 ALLSPHINXOPTS += -t rustdoc
110 $(Q)$(MAKE) rustdoc || true
DChanges390 rustdoc
393 ``rustdoc`` is used to generate the documentation for Rust code. Please see
/linux-6.6.21/rust/alloc/
Dlib.rs94 #![cfg_attr(not(bootstrap), allow(rustdoc::redundant_explicit_links))]
/linux-6.6.21/Documentation/process/
Dchanges.rst390 rustdoc subsection
393 ``rustdoc`` is used to generate the documentation for Rust code. Please see
/linux-6.6.21/
DMakefile502 RUSTDOC = rustdoc
1711 PHONY += rustdoc
1712 rustdoc: prepare target