History

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.

Miguel Ojeda committed 2 years ago

Commit a135aa31 parent 024f9671 file · +4 −4Browse files

Unified · Split

Makefile+4−4
@@ -446,18 +446,18 @@ KBUILD_USERLDFLAGS := $(USERLDFLAGS) · 445 unmodified lines
446446 export rust_common_flags := --edition=2021 \
447447 -Zbinary_dep_depinfo=y \
448448 -Astable_features \
449− -Dunsafe_op_in_unsafe_fn \
450449 -Dnon_ascii_idents \
450+ -Dunsafe_op_in_unsafe_fn \
451+ -Wmissing_docs \
451452 -Wrust_2018_idioms \
452453 -Wunreachable_pub \
453− -Wmissing_docs \
454− -Wrustdoc::missing_crate_level_docs \
455454 -Wclippy::all \
455+ -Wclippy::dbg_macro \
456456 -Wclippy::mut_mut \
457457 -Wclippy::needless_bitwise_bool \
458458 -Wclippy::needless_continue \
459459 -Wclippy::no_mangle_with_rust_abi \
460− -Wclippy::dbg_macro
460+ -Wrustdoc::missing_crate_level_docs
461461
462462 KBUILD_HOSTCFLAGS := $(KBUILD_USERHOSTCFLAGS) $(HOST_LFS_CFLAGS) \
463463 $(HOSTCFLAGS) -I $(srctree)/scripts/include

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t