File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -2081,7 +2081,10 @@ config RUSTC_VERSION_TEXT
2081
2081
config BINDGEN_VERSION_TEXT
2082
2082
string
2083
2083
depends on RUST
2084
- default $(shell,command -v $(BINDGEN) >/dev/null 2>&1 && $(BINDGEN) --version || echo n)
2084
+ # The dummy parameter `workaround-for-0.69.0` is required to support 0.69.0
2085
+ # (https://github.com/rust-lang/rust-bindgen/pull/2678). It can be removed when
2086
+ # the minimum version is upgraded past that (0.69.1 already fixed the issue).
2087
+ default $(shell,command -v $(BINDGEN) >/dev/null 2>&1 && $(BINDGEN) --version workaround-for-0.69.0 || echo n)
2085
2088
2086
2089
#
2087
2090
# Place an empty function call at each tracepoint site. Can be
Original file line number Diff line number Diff line change 129
129
# Check that the Rust bindings generator is suitable.
130
130
#
131
131
# Non-stable and distributions' versions may have a version suffix, e.g. `-dev`.
132
+ #
133
+ # The dummy parameter `workaround-for-0.69.0` is required to support 0.69.0
134
+ # (https://github.com/rust-lang/rust-bindgen/pull/2678). It can be removed when
135
+ # the minimum version is upgraded past that (0.69.1 already fixed the issue).
132
136
rust_bindings_generator_output=$( \
133
- LC_ALL=C " $BINDGEN " --version 2> /dev/null
137
+ LC_ALL=C " $BINDGEN " --version workaround-for-0.69.0 2> /dev/null
134
138
) || rust_bindings_generator_code=$?
135
139
if [ -n " $rust_bindings_generator_code " ]; then
136
140
echo >&2 " ***"
You can’t perform that action at this time.
0 commit comments