summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-02-03 13:55:09 -0800
committerPaolo Abeni <pabeni@redhat.com>2025-02-06 11:21:14 +0100
commit7e8b24e24ac46038e48c9a042e7d9b31855cbca5 (patch)
treee806133f80532781b2fd3edf49b0e61b215c8c72 /scripts/generate_rust_analyzer.py
parent5f9e5d20ee730254386746359fdb7fc352a5bdb3 (diff)
tools: ynl-gen: don't output external constants
A definition with a "header" property is an "external" definition for C code, as in it is defined already in another C header file. Other languages will need the exact value but C codegen should not recreate it. So don't output those definitions in the uAPI header. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Link: https://patch.msgid.link/20250203215510.1288728-1-kuba@kernel.org Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions