1d07479b2SMiguel Ojeda.. SPDX-License-Identifier: GPL-2.0
2d07479b2SMiguel Ojeda
3d07479b2SMiguel OjedaArch Support
4d07479b2SMiguel Ojeda============
5d07479b2SMiguel Ojeda
6d07479b2SMiguel OjedaCurrently, the Rust compiler (``rustc``) uses LLVM for code generation,
7d07479b2SMiguel Ojedawhich limits the supported architectures that can be targeted. In addition,
8d07479b2SMiguel Ojedasupport for building the kernel with LLVM/Clang varies (please see
9d07479b2SMiguel OjedaDocumentation/kbuild/llvm.rst). This support is needed for ``bindgen``
10d07479b2SMiguel Ojedawhich uses ``libclang``.
11d07479b2SMiguel Ojeda
12d07479b2SMiguel OjedaBelow is a general summary of architectures that currently work. Level of
13d07479b2SMiguel Ojedasupport corresponds to ``S`` values in the ``MAINTAINERS`` file.
14d07479b2SMiguel Ojeda
15d07479b2SMiguel Ojeda============  ================  ==============================================
16d07479b2SMiguel OjedaArchitecture  Level of support  Constraints
17d07479b2SMiguel Ojeda============  ================  ==============================================
18*09498135SMiguel Ojeda``x86``       Maintained        ``x86_64`` only.
19d07479b2SMiguel Ojeda============  ================  ==============================================
20