Lines Matching full:version

8 min_tool_version=$(dirname $0)/min-tool-version.sh
10 # Convert the version string x.y.z to a canonical up-to-7-digits form.
13 # instances in other version scripts) to give a bit more space to
81 # Check that the Rust compiler version is suitable.
83 # Non-stable and distributions' versions may have a version suffix, e.g. `-dev`.
85 LC_ALL=C "$RUSTC" --version 2>/dev/null
89 echo >&2 "*** Running '$RUSTC' to check the Rust compiler version failed with"
102 echo >&2 "*** Running '$RUSTC' to check the Rust compiler version did not return"
115 echo >&2 "*** Your version: $rust_compiler_version"
116 echo >&2 "*** Minimum version: $rust_compiler_min_version"
123 # Non-stable and distributions' versions may have a version suffix, e.g. `-dev`.
127 # the minimum version is upgraded past that (0.69.1 already fixed the issue).
129 LC_ALL=C "$BINDGEN" --version workaround-for-0.69.0 2>/dev/null
133 echo >&2 "*** Running '$BINDGEN' to check the Rust bindings generator version failed with"
146 echo >&2 "*** Running '$BINDGEN' to check the bindings generator version did not return"
159 echo >&2 "*** Your version: $rust_bindings_generator_version"
160 echo >&2 "*** Minimum version: $rust_bindings_generator_min_version"
172 echo >&2 "*** Your version: $rust_bindings_generator_version"
180 # In order to do that, first invoke `bindgen` to get the `libclang` version
188 echo >&2 "*** Running '$BINDGEN' to check the libclang version (used by the Rust"
197 # `bindgen` returned successfully, thus use the output to check that the version
200 # Unlike other version checks, note that this one does not necessarily appear
204 | sed -nE 's:.*clang version ([0-9]+\.[0-9]+\.[0-9]+).*:\1:p'
208 echo >&2 "*** Running '$BINDGEN' to check the libclang version (used by the Rust"
222 echo >&2 "*** Your version: $bindgen_libclang_version"
223 echo >&2 "*** Minimum version: $bindgen_libclang_min_version"
228 # If the C compiler is Clang, then we can also check whether its version
229 # matches the `libclang` version used by the Rust bindings generator.
231 # In the future, we might be able to perform a full version check, see
233 cc_name=$($(dirname $0)/cc-version.sh $CC | cut -f1 -d' ')
236 LC_ALL=C $CC --version 2>/dev/null \
237 | sed -nE '1s:.*version ([0-9]+\.[0-9]+\.[0-9]+).*:\1:p'
242 echo >&2 "*** version does not match Clang's. This may be a problem."
243 echo >&2 "*** libclang version: $bindgen_libclang_version"
244 echo >&2 "*** Clang version: $clang_version"