diff options
| author | Siddhesh Poyarekar <siddhesh@gotplt.org> | 2025-12-17 17:40:50 -0500 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2026-01-06 20:51:21 +0100 |
| commit | 609db7e73b3ecc6a0b44dc6486e88e4bce6fd8c0 (patch) | |
| tree | eeb014efd76d9db45a734979263683573de5f9dd /rust/kernel | |
| parent | c18f35e4904920db4c51620ba634e4d175b24741 (diff) | |
rust: kbuild: Add -fdiagnostics-show-context to bindgen_skip_c_flags
This got added with:
7454048db27d ("kbuild: Enable GCC diagnostic context for value-tracking warnings")
but clang does not have this option, so avoid passing it to bindgen.
[ Details about what the option does are in the commit above. Nathan
also expands on this:
Right, this does look correct, as this option is specific to GCC
for the purpose of exposing more information from GCC internals to
the user for understanding diagnostics better.
I checked that in Compiler Explorer GCC 15.2 doesn't have it, but GCC
trunk indeed has. - Miguel ]
Fixes: 7454048db27d ("kbuild: Enable GCC diagnostic context for value-tracking warnings")
Signed-off-by: Siddhesh Poyarekar <siddhesh@gotplt.org>
Link: https://patch.msgid.link/20251217224050.1186896-1-siddhesh@gotplt.org
[ Removed Cc: stable. Added title prefix. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions
