arch-support.rst 1.1 KB

12345678910111213141516171819202122232425
  1. .. SPDX-License-Identifier: GPL-2.0
  2. Arch Support
  3. ============
  4. Currently, the Rust compiler (``rustc``) uses LLVM for code generation,
  5. which limits the supported architectures that can be targeted. In addition,
  6. support for building the kernel with LLVM/Clang varies (please see
  7. Documentation/kbuild/llvm.rst). This support is needed for ``bindgen``
  8. which uses ``libclang``.
  9. Below is a general summary of architectures that currently work. Level of
  10. support corresponds to ``S`` values in the ``MAINTAINERS`` file.
  11. ============= ================ ==============================================
  12. Architecture Level of support Constraints
  13. ============= ================ ==============================================
  14. ``arm`` Maintained ARMv7 Little Endian only.
  15. ``arm64`` Maintained Little Endian only.
  16. ``loongarch`` Maintained \-
  17. ``riscv`` Maintained ``riscv64`` and LLVM/Clang only.
  18. ``um`` Maintained \-
  19. ``x86`` Maintained ``x86_64`` only.
  20. ============= ================ ==============================================