]>
git.proxmox.com Git - rustc.git/blob - vendor/signal-hook/ci-check.sh
3 # We try to support some older versions of rustc. However, the support is
4 # tiered a bit. Our dev-dependencies do *not* guarantee that old minimal
5 # version. So we don't do tests on the older ones. Also, the
6 # signal-hook-registry supports older rustc than we signal-hook.
11 cargo build
--all --exclude signal-hook-async-std
--exclude signal-hook-tokio
13 if [ "$RUST_VERSION" = 1.36.0 ] ; then
17 if [ "$OS" = "windows-latest" ] ||
[ "$RUST_VERSION" = 1.40.0 ]; then
18 # The async support crates rely on the iterator module
19 # which isn't available for windows. So exclude them
22 # Also, some dependencies of the runtimes don't like 1.40.
23 EXCLUDE_FROM_BUILD
="--exclude signal-hook-mio --exclude signal-hook-tokio --exclude signal-hook-async-std"
28 export RUSTFLAGS
="-D warnings"
30 cargo
test --all --all-features $EXCLUDE_FROM_BUILD
31 cargo
test --all $EXCLUDE_FROM_BUILD