summaryrefslogtreecommitdiff
path: root/rust/proc-macro2/detection.rs
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2025-11-24 16:18:13 +0100
committerMiguel Ojeda <ojeda@kernel.org>2025-11-24 17:15:34 +0100
commit46e58a9637ec6493b142b788595eed627b4973b7 (patch)
treef4084edeebcdddb8150ee399a6652c4d3c4a4dcc /rust/proc-macro2/detection.rs
parent7a0eae4d43d265c56e9d0b136ec08e35b83525b8 (diff)
rust: kbuild: introduce `core-flags` and `core-skip_flags`
In the next commits we are introducing `*-{cfgs,skip_flags,flags}` variables for other crates. Thus do so here for `core`, which simplifies a bit the `Makefile` (including the next commit) and makes it more consistent. This means we stop passing `-Wrustdoc::unescaped_backticks` to `rustc` and `-Wunreachable_pub` to `rustdoc`, i.e. we skip more, which is fine since it shouldn't have an effect. In addition, use `:=` for `core-cfgs` to make it consistent with the upcoming additions. Reviewed-by: Alice Ryhl <aliceryhl@google.com> Reviewed-by: Gary Guo <gary@garyguo.net> Tested-by: Gary Guo <gary@garyguo.net> Tested-by: Jesung Yang <y.j3ms.n@gmail.com> Link: https://patch.msgid.link/20251124151837.2184382-2-ojeda@kernel.org Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/proc-macro2/detection.rs')
0 files changed, 0 insertions, 0 deletions