From: Daniel Stenberg Date: Sat, 5 Mar 2022 22:17:56 +0000 (+0100) Subject: GHA: build hyper with nightly rustc X-Git-Tag: curl-7_83_0~185 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=22070664460fdec275d657158fccca9f609d99e0;p=thirdparty%2Fcurl.git GHA: build hyper with nightly rustc Closes #8545 --- diff --git a/.github/workflows/linux-hyper.yml b/.github/workflows/linux-hyper.yml index 4a02753b0b..d35bdcb07a 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