Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

rust: kbuild: remove skipping of `-Wrustdoc::unescaped_backticks`

Back in Rust 1.82.0, I cleaned the `rustdoc::unescaped_backticks` lint in
upstream Rust and added tests so that hopefully it would not regress [1].

Thus we can remove it from our side given the Rust minimum version bump.

Link: https://github.com/rust-lang/rust/pull/128307 [1]
Reviewed-by: Tamir Duberstein <tamird@kernel.org>
Reviewed-by: Gary Guo <gary@garyguo.net>
Link: https://patch.msgid.link/20260405235309.418950-12-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>

+1 -4
+1 -4
rust/Makefile
··· 75 75 76 76 core-skip_flags := \ 77 77 --edition=2021 \ 78 - -Wunreachable_pub \ 79 - -Wrustdoc::unescaped_backticks 78 + -Wunreachable_pub 80 79 81 80 core-flags := \ 82 81 --edition=$(core-edition) \ ··· 208 209 rustdoc-quote rustdoc-syn FORCE 209 210 +$(call if_changed,rustdoc) 210 211 211 - # Starting with Rust 1.82.0, skipping `-Wrustdoc::unescaped_backticks` should 212 - # not be needed -- see https://github.com/rust-lang/rust/pull/128307. 213 212 rustdoc-core: private skip_flags = $(core-skip_flags) 214 213 rustdoc-core: private rustc_target_flags = $(core-flags) 215 214 rustdoc-core: $(RUST_LIB_SRC)/core/src/lib.rs rustdoc-clean FORCE