mirror of
https://github.com/Noratrieb/incr.git
synced 2026-01-14 13:55:01 +01:00
hyper
This commit is contained in:
parent
35dc335803
commit
e6d79a111b
4 changed files with 40 additions and 1 deletions
|
|
@ -1,6 +1,27 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
CRATE="${1:-hyper}"
|
||||
TOOLCHAIN="${TOOLCHAIN:-dev}"
|
||||
|
||||
echo "Testing $CRATE +$TOOLCHAIN"
|
||||
|
||||
cd "$CRATE" && cargo "+$TOOLCHAIN" build --features=full
|
||||
cd $CRATE
|
||||
|
||||
function build() {
|
||||
(cd "$CRATE" && RUSTFLAGS='-Zincremental-verify-ich' cargo "+$TOOLCHAIN" build --features=full)
|
||||
}
|
||||
|
||||
build
|
||||
|
||||
for patch in ./patches/* ; do
|
||||
echo "Applying $patch..."
|
||||
|
||||
(cd "$CRATE" && git apply "../$patch")
|
||||
|
||||
build
|
||||
|
||||
(cd "$CRATE" && git checkout HEAD .)
|
||||
|
||||
build
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue