1 .. SPDX-License-Identifier: GPL-2.0 1 .. SPDX-License-Identifier: GPL-2.0 2 2 3 Arch Support 3 Arch Support 4 ============ 4 ============ 5 5 6 Currently, the Rust compiler (``rustc``) uses 6 Currently, the Rust compiler (``rustc``) uses LLVM for code generation, 7 which limits the supported architectures that 7 which limits the supported architectures that can be targeted. In addition, 8 support for building the kernel with LLVM/Clan 8 support for building the kernel with LLVM/Clang varies (please see 9 Documentation/kbuild/llvm.rst). This support i 9 Documentation/kbuild/llvm.rst). This support is needed for ``bindgen`` 10 which uses ``libclang``. 10 which uses ``libclang``. 11 11 12 Below is a general summary of architectures th 12 Below is a general summary of architectures that currently work. Level of 13 support corresponds to ``S`` values in the ``M 13 support corresponds to ``S`` values in the ``MAINTAINERS`` file. 14 14 15 ============= ================ ============= !! 15 ============ ================ ============================================== 16 Architecture Level of support Constraints !! 16 Architecture Level of support Constraints 17 ============= ================ ============= !! 17 ============ ================ ============================================== 18 ``arm64`` Maintained Little Endian !! 18 ``um`` Maintained ``x86_64`` only. 19 ``loongarch`` Maintained \- !! 19 ``x86`` Maintained ``x86_64`` only. 20 ``riscv`` Maintained ``riscv64`` o !! 20 ============ ================ ============================================== 21 ``um`` Maintained \- << 22 ``x86`` Maintained ``x86_64`` on << 23 ============= ================ ============= << 24 21
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.