diff options
author | Miguel Ojeda <[email protected]> | 2024-07-09 18:06:03 +0200 |
---|---|---|
committer | Miguel Ojeda <[email protected]> | 2024-07-10 10:28:52 +0200 |
commit | 9e98db17837093cb0f4dcfcc3524739d93249c45 (patch) | |
tree | 3aafc6febe3bb11a89e6d412afc4569532b9de6b /tools/perf/util/trace-event-scripting.c | |
parent | d49082faf6a001019693a837dea7b958048c731c (diff) |
rust: work around `bindgen` 0.69.0 issue
`bindgen` 0.69.0 contains a bug: `--version` does not work without
providing a header [1]:
error: the following required arguments were not provided:
<HEADER>
Usage: bindgen <FLAGS> <OPTIONS> <HEADER> -- <CLANG_ARGS>...
Thus, in preparation for supporting several `bindgen` versions, work
around the issue by passing a dummy argument.
Include a comment so that we can remove the workaround in the future.
Link: https://github.com/rust-lang/rust-bindgen/pull/2678 [1]
Reviewed-by: Finn Behrens <[email protected]>
Tested-by: Benno Lossin <[email protected]>
Tested-by: Andreas Hindborg <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions