From 22070664460fdec275d657158fccca9f609d99e0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 5 Mar 2022 23:17:56 +0100 Subject: [PATCH] GHA: build hyper with nightly rustc Closes #8545 --- .github/workflows/linux-hyper.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux-hyper.yml b/.github/workflows/linux-hyper.yml index 4a02753b0..d35bdcb07 100644 --- a/.github/workflows/linux-hyper.yml +++ b/.github/workflows/linux-hyper.yml @@ -32,8 +32,11 @@ jobs: git clone --depth=1 https://github.com/hyperium/hyper.git; curl https://sh.rustup.rs -sSf | sh -s -- -y; source $HOME/.cargo/env; - cd $HOME/hyper; - RUSTFLAGS="--cfg hyper_unstable_ffi" cargo build --features client,http1,http2,ffi) + rustup toolchain install nightly;) + name: install rust + + - run: (cd $HOME/hyper; + RUSTFLAGS="--cfg hyper_unstable_ffi" cargo +nightly rustc --features client,http1,http2,ffi -Z unstable-options --crate-type cdylib) name: 'install hyper' - uses: actions/checkout@v2