mirror of
https://github.com/moparisthebest/curl
synced 2025-01-10 21:48:10 -05:00
parent
0936ecd0ee
commit
5808144f3c
@ -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:
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
# | (__| |_| | _ <| |___
|
||||
# \___|\___/|_| \_\_____|
|
||||
#
|
||||
# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
# Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, 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
|
||||
|
Loading…
Reference in New Issue
Block a user