Home
last modified time | relevance | path

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

/linux/rust/
H A DMakefile4 rustdoc_output := $(objtree)/Documentation/output/rust/rustdoc
152 --crate-name $(subst rustdoc-,,$@) \
168 rustdoc: rustdoc-core rustdoc-macros rustdoc-compiler_builtins \ target
169 rustdoc-kernel rustdoc-pin_init
183 $(Q)for f in $(rustdoc_output)/static.files/rustdoc-*.css; do \
186 rustdoc-proc_macro2: private rustdoc_host = yes
187 rustdoc-proc_macro2: private rustc_target_flags = $(proc_macro2-flags)
188 rustdoc-proc_macro2: $(src)/proc-macro2/lib.rs rustdoc-clean FORCE
189 +$(call if_changed,rustdoc)
191 rustdoc-quote: private rustdoc_host = yes
[all …]
/linux/Documentation/translations/zh_CN/rust/
H A Dgeneral-information.rst21 Rust内核代码使用其内置的文档生成器 ``rustdoc`` 进行记录。
30 们,请使用 ``rustdoc`` 目标,并使用编译时使用的相同调用,例如::
32 make LLVM=1 rustdoc
36 xdg-open Documentation/output/rust/rustdoc/kernel/index.html
H A Dtesting.rst62 在用户空间中,这些测试由 ``rustdoc`` 负责收集并运行。单独使用这个工具已经很有价值,
104 其中标明了原始测试的文件和行号(不是 ``rustdoc`` 生成的临时 Rust 文件位置)::
/linux/tools/docs/
H A Dsphinx-build-wrapper712 rustdoc = self.check_rust(sphinxdirs_list)
713 if rustdoc:
714 args.extend(["-t", "rustdoc"])
788 if rustdoc and target in ["htmldocs", "epubdocs"]:
795 cmd += [ "rustdoc"]
802 print(f"Ignored errors when building rustdoc: {e}. Is RUST enabled?",
/linux/Documentation/rust/
H A Dcoding-guidelines.rst196 Instead, the usual system for documenting Rust code is used: the ``rustdoc``
232 This example showcases a few ``rustdoc`` features and some conventions followed
252 (``rustdoc`` will create a link automatically).
263 please take a look at the ``rustdoc`` book at:
265 https://doc.rust-lang.org/rustdoc/how-to-write-documentation.html
H A Dtesting.rst63 In userspace, the tests are collected and run via ``rustdoc``. Using the tool
/linux/Documentation/
H A DChanges399 rustdoc
402 ``rustdoc`` is used to generate the documentation for Rust code. Please see
/linux/
H A DMakefile538 RUSTDOC = rustdoc
1830 @echo ' rustdoc - Generate Rust documentation'
1937 PHONY += rustdoc
1938 rustdoc: prepare target