mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-29 17:23:36 +00:00
rust: sort global Rust flags
Sort the global Rust flags so that it is easier to follow along when we have more, like this patch series does. Reviewed-by: Trevor Gross <tmgross@umich.edu> Reviewed-by: Alice Ryhl <aliceryhl@google.com> Tested-by: Gary Guo <gary@garyguo.net> Reviewed-by: Gary Guo <gary@garyguo.net> Link: https://lore.kernel.org/r/20240904204347.168520-3-ojeda@kernel.org Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
This commit is contained in:
parent
024f9676a6
commit
a135aa3d30
8
Makefile
8
Makefile
@ -446,18 +446,18 @@ KBUILD_USERLDFLAGS := $(USERLDFLAGS)
|
|||||||
export rust_common_flags := --edition=2021 \
|
export rust_common_flags := --edition=2021 \
|
||||||
-Zbinary_dep_depinfo=y \
|
-Zbinary_dep_depinfo=y \
|
||||||
-Astable_features \
|
-Astable_features \
|
||||||
-Dunsafe_op_in_unsafe_fn \
|
|
||||||
-Dnon_ascii_idents \
|
-Dnon_ascii_idents \
|
||||||
|
-Dunsafe_op_in_unsafe_fn \
|
||||||
|
-Wmissing_docs \
|
||||||
-Wrust_2018_idioms \
|
-Wrust_2018_idioms \
|
||||||
-Wunreachable_pub \
|
-Wunreachable_pub \
|
||||||
-Wmissing_docs \
|
|
||||||
-Wrustdoc::missing_crate_level_docs \
|
|
||||||
-Wclippy::all \
|
-Wclippy::all \
|
||||||
|
-Wclippy::dbg_macro \
|
||||||
-Wclippy::mut_mut \
|
-Wclippy::mut_mut \
|
||||||
-Wclippy::needless_bitwise_bool \
|
-Wclippy::needless_bitwise_bool \
|
||||||
-Wclippy::needless_continue \
|
-Wclippy::needless_continue \
|
||||||
-Wclippy::no_mangle_with_rust_abi \
|
-Wclippy::no_mangle_with_rust_abi \
|
||||||
-Wclippy::dbg_macro
|
-Wrustdoc::missing_crate_level_docs
|
||||||
|
|
||||||
KBUILD_HOSTCFLAGS := $(KBUILD_USERHOSTCFLAGS) $(HOST_LFS_CFLAGS) \
|
KBUILD_HOSTCFLAGS := $(KBUILD_USERHOSTCFLAGS) $(HOST_LFS_CFLAGS) \
|
||||||
$(HOSTCFLAGS) -I $(srctree)/scripts/include
|
$(HOSTCFLAGS) -I $(srctree)/scripts/include
|
||||||
|
Loading…
Reference in New Issue
Block a user