]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* test: upgrade rustls-ffi version to 0.9.0 which
authorStefan Eissing <icing@apache.org>
Sat, 14 May 2022 09:09:01 +0000 (09:09 +0000)
committerStefan Eissing <icing@apache.org>
Sat, 14 May 2022 09:09:01 +0000 (09:09 +0000)
    gets rid of the dependency on cbindgen.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1900875 13f79535-47bb-0310-9956-ffa450edef68

test/travis_run_linux.sh

index 409077944bc45264d7c906c55036d51606655201..692e5f82bacc8406f45346deef9ccac87bb5d682 100755 (executable)
@@ -55,15 +55,13 @@ fi
 # build the version we want from source
 if test -v TEST_MOD_TLS; then
   RUSTLS_HOME="$HOME/build/rustls-ffi"
-  RUSTLS_VERSION="v0.8.2"
+  RUSTLS_VERSION="v0.9.0"
   git clone https://github.com/rustls/rustls-ffi.git "$RUSTLS_HOME"
   pushd "$RUSTLS_HOME"
+    # since v0.9.0, there is no longer a dependency on cbindgen
     git fetch origin
     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.
-    cargo install --force cbindgen
-    PATH="${HOME}/.cargo/bin:${PATH}" make install DESTDIR="$PREFIX"
+    make install DESTDIR="$PREFIX"
   popd
   CONFIG="$CONFIG --with-tls --with-rustls=$PREFIX"
 fi