Sort the global Rust flags so that it is easier to follow along when we have more, like this patch series does.
Unified · Split
| @@ -446,18 +446,18 @@ KBUILD_USERLDFLAGS := $(USERLDFLAGS) · 445 unmodified lines | ||
| 446 | 446 | export rust_common_flags := --edition=2021 \ |
| 447 | 447 | -Zbinary_dep_depinfo=y \ |
| 448 | 448 | -Astable_features \ |
| 449 | − -Dunsafe_op_in_unsafe_fn \ | |
| 450 | 449 | -Dnon_ascii_idents \ |
| 450 | + -Dunsafe_op_in_unsafe_fn \ | |
| 451 | + -Wmissing_docs \ | |
| 451 | 452 | -Wrust_2018_idioms \ |
| 452 | 453 | -Wunreachable_pub \ |
| 453 | − -Wmissing_docs \ | |
| 454 | − -Wrustdoc::missing_crate_level_docs \ | |
| 455 | 454 | -Wclippy::all \ |
| 455 | + -Wclippy::dbg_macro \ | |
| 456 | 456 | -Wclippy::mut_mut \ |
| 457 | 457 | -Wclippy::needless_bitwise_bool \ |
| 458 | 458 | -Wclippy::needless_continue \ |
| 459 | 459 | -Wclippy::no_mangle_with_rust_abi \ |
| 460 | − -Wclippy::dbg_macro | |
| 460 | + -Wrustdoc::missing_crate_level_docs | |
| 461 | 461 | |
| 462 | 462 | KBUILD_HOSTCFLAGS := $(KBUILD_USERHOSTCFLAGS) $(HOST_LFS_CFLAGS) \ |
| 463 | 463 | $(HOSTCFLAGS) -I $(srctree)/scripts/include |