index.rst 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. .. SPDX-License-Identifier: GPL-2.0
  2. Rust
  3. ====
  4. Documentation related to Rust within the kernel. To start using Rust
  5. in the kernel, please read the quick-start.rst guide.
  6. The Rust experiment
  7. -------------------
  8. The Rust support was merged in v6.1 into mainline in order to help in
  9. determining whether Rust as a language was suitable for the kernel, i.e. worth
  10. the tradeoffs.
  11. Currently, the Rust support is primarily intended for kernel developers and
  12. maintainers interested in the Rust support, so that they can start working on
  13. abstractions and drivers, as well as helping the development of infrastructure
  14. and tools.
  15. If you are an end user, please note that there are currently no in-tree
  16. drivers/modules suitable or intended for production use, and that the Rust
  17. support is still in development/experimental, especially for certain kernel
  18. configurations.
  19. Code documentation
  20. ------------------
  21. Given a kernel configuration, the kernel may generate Rust code documentation,
  22. i.e. HTML rendered by the ``rustdoc`` tool.
  23. .. only:: rustdoc and html
  24. This kernel documentation was built with `Rust code documentation
  25. <rustdoc/kernel/index.html>`_.
  26. .. only:: not rustdoc and html
  27. This kernel documentation was not built with Rust code documentation.
  28. A pregenerated version is provided at:
  29. https://rust.docs.kernel.org
  30. Please see the :ref:`Code documentation <rust_code_documentation>` section for
  31. more details.
  32. .. toctree::
  33. :maxdepth: 1
  34. quick-start
  35. general-information
  36. coding-guidelines
  37. arch-support
  38. testing
  39. .. only:: subproject and html
  40. Indices
  41. =======
  42. * :ref:`genindex`