forked from nathanchance/WSL2-Linux-Kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'rust-next' of https://github.com/Rust-for-Linux/linux.git
# Conflicts: # Makefile # include/uapi/linux/android/binder.h
- Loading branch information
Showing
180 changed files
with
37,619 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
edition = "2021" | ||
newline_style = "Unix" | ||
|
||
# Unstable options that help catching some mistakes in formatting and that we may want to enable | ||
# when they become stable. | ||
# | ||
# They are kept here since they are useful to run from time to time. | ||
#format_code_in_doc_comments = true | ||
#reorder_impl_items = true | ||
#comment_width = 100 | ||
#wrap_comments = true | ||
#normalize_comments = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
.. SPDX-License-Identifier: GPL-2.0 | ||
Arch Support | ||
============ | ||
|
||
Currently, the Rust compiler (``rustc``) uses LLVM for code generation, | ||
which limits the supported architectures that can be targeted. In addition, | ||
support for building the kernel with LLVM/Clang varies (please see | ||
Documentation/kbuild/llvm.rst). This support is needed for ``bindgen`` | ||
which uses ``libclang``. | ||
|
||
Below is a general summary of architectures that currently work. Level of | ||
support corresponds to ``S`` values in the ``MAINTAINERS`` file. | ||
|
||
============ ================ ============================================== | ||
Architecture Level of support Constraints | ||
============ ================ ============================================== | ||
``arm`` Maintained ``armv6`` and compatible only, | ||
``RUST_OPT_LEVEL >= 2``. | ||
``arm64`` Maintained None. | ||
``powerpc`` Maintained ``ppc64le`` only, ``RUST_OPT_LEVEL < 2`` | ||
requires ``CONFIG_THREAD_SHIFT=15``. | ||
``riscv`` Maintained ``riscv64`` only. | ||
``x86`` Maintained ``x86_64`` only. | ||
============ ================ ============================================== |
Oops, something went wrong.