1 .. SPDX-License-Identifier: GPL-2.0
6 Documentation related to Rust within the kernel. To start using Rust
7 in the kernel, please read the quick-start.rst guide.
13 The Rust support was merged in v6.1 into mainline in order to help in
14 determining whether Rust as a language was suitable for the kernel, i.e. worth
17 Currently, the Rust support is primarily intended for kernel developers and
18 maintainers interested in the Rust support, so that they can start working on
19 abstractions and drivers, as well as helping the development of infrastructure
22 If you are an end user, please note that there are currently no in-tree
23 drivers/modules suitable or intended for production use, and that the Rust
24 support is still in development/experimental, especially for certain kernel
31 Given a kernel configuration, the kernel may generate Rust code documentation,
32 i.e. HTML rendered by the ``rustdoc`` tool.
34 .. only:: rustdoc and html
36 This kernel documentation was built with `Rust code documentation
37 <rustdoc/kernel/index.html>`_.
39 .. only:: not rustdoc and html
41 This kernel documentation was not built with Rust code documentation.
43 A pregenerated version is provided at:
45 https://rust.docs.kernel.org
47 Please see the :ref:`Code documentation <rust_code_documentation>` section for
59 You can also find learning materials for Rust in its section in
60 :doc:`../process/kernel-docs`.
62 .. only:: subproject and html