]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
*) test: log rustc and cbindget versions used to build rustls-ffi
authorStefan Eissing <icing@apache.org>
Wed, 11 May 2022 08:20:43 +0000 (08:20 +0000)
committerStefan Eissing <icing@apache.org>
Wed, 11 May 2022 08:20:43 +0000 (08:20 +0000)
     to speed up analysis of any problems in the future.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1900805 13f79535-47bb-0310-9956-ffa450edef68

test/travis_run_linux.sh

index 2e2d6c74750abb5a75f4e94a215bcc4368abae67..877a4732cfd37390e294b08383375631bac81f5b 100755 (executable)
@@ -62,7 +62,13 @@ if test -v TEST_MOD_TLS; then
     git checkout tags/$RUSTLS_VERSION
     # force an update to cbindgen as focal seems to deliver v0.12.1
     # always something changes with rust/cargo every few weeks, sigh.
+    RUSTC_VERSION=`rustc --version`
+    CBINDGEN_INSTALLED_VERSION=`cbindgen --version`
     cargo install --force cbindgen
+    CBINDGEN_LOCAL_VERSION=`"${HOME}"/.cargo/bin/cbindgen --version`
+    echo "building rustls-ffi: RUSTC='${RUSTC_VERSION}', "\
+        "SYSTEM CBINDGEN='${CBINDGEN_INSTALLED_VERSION}'"\
+        "LOCAL CBINDGEN='${CBINDGEN_LOCAL_VERSION}'"
     PATH="${HOME}/.cargo/bin:${PATH}" make install DESTDIR="$PREFIX"
   popd
   CONFIG="$CONFIG --with-tls --with-rustls=$PREFIX"