From: Daniel Stenberg Date: Tue, 5 Jan 2021 23:50:49 +0000 (+0100) Subject: travis: adapt to Hyper build change X-Git-Tag: curl-7_75_0~139 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5808144f3cd25e931a352f39f85ad534e838f96c;p=thirdparty%2Fcurl.git travis: adapt to Hyper build change Closes #6419 --- diff --git a/docs/HYPER.md b/docs/HYPER.md index 724257260f..88d6f854a4 100644 --- a/docs/HYPER.md +++ b/docs/HYPER.md @@ -24,7 +24,7 @@ Build hyper and enable the C API: % git clone -b hyper-capi https://github.com/hyperium/hyper % cd hyper - % cargo build --no-default-features --features ffi + % RUSTFLAGS="--cfg hyper_unstable_ffi" cargo build --features client,http1,http2,ffi Build curl to use hyper's C API: diff --git a/scripts/travis/before_script.sh b/scripts/travis/before_script.sh index 162bbaf413..c82a97c62a 100755 --- a/scripts/travis/before_script.sh +++ b/scripts/travis/before_script.sh @@ -6,7 +6,7 @@ # | (__| |_| | _ <| |___ # \___|\___/|_| \_\_____| # -# Copyright (C) 1998 - 2020, Daniel Stenberg, , et al. +# Copyright (C) 1998 - 2021, Daniel Stenberg, , et al. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms @@ -109,7 +109,7 @@ if [ "$TRAVIS_OS_NAME" = linux -a "$HYPER" ]; then curl https://sh.rustup.rs -sSf | sh -s -- -y source $HOME/.cargo/env cd $HOME/hyper - cargo build -v --no-default-features --features ffi + RUSTFLAGS="--cfg hyper_unstable_ffi" cargo build --features client,http1,http2,ffi fi if [ "$TRAVIS_OS_NAME" = linux -a "$QUICHE" ]; then