| 1 |
.. SPDX-License-Identifier: GPL-2.0 |
| 2 |
.. include:: ../disclaimer-zh_CN.rst |
| 3 |
|
| 4 |
:Original: Documentation/rust/index.rst |
| 5 |
|
| 6 |
:翻译: |
| 7 |
|
| 8 |
司延腾 Yanteng Si <[email protected]> |
| 9 |
|
| 10 |
Rust |
| 11 |
==== |
| 12 |
|
| 13 |
与内核中的Rust有关的文档。若要开始在内核中使用Rust,请阅读 quick-start.rst 指南。 |
| 14 |
|
| 15 |
|
| 16 |
代码文档 |
| 17 |
-------- |
| 18 |
|
| 19 |
给定一个内核配置,内核可能会生成 Rust 代码文档,即由 ``rustdoc`` 工具呈现的 HTML。 |
| 20 |
|
| 21 |
.. only:: rustdoc and html |
| 22 |
|
| 23 |
该内核文档使用 `Rust 代码文档 <rustdoc/kernel/index.html>`_ 构建。 |
| 24 |
|
| 25 |
.. only:: not rustdoc and html |
| 26 |
|
| 27 |
该内核文档不使用 Rust 代码文档构建。 |
| 28 |
|
| 29 |
预生成版本提供在:https://rust.docs.kernel.org。 |
| 30 |
|
| 31 |
请参阅 :ref:`代码文档 <rust_code_documentation_zh_cn>` 部分以获取更多详细信息。 |
| 32 |
|
| 33 |
.. toctree:: |
| 34 |
:maxdepth: 1 |
| 35 |
|
| 36 |
quick-start |
| 37 |
general-information |
| 38 |
coding-guidelines |
| 39 |
arch-support |
| 40 |
testing |
| 41 |
|
| 42 |
你还可以在 :doc:`../../../process/kernel-docs` 中找到 Rust 的学习材料。 |