Skip to content

Commit 8c65c37

Browse files
committed
Disable cargo-hack in CI
Serde accidentally raised its MSRV to 1.51.0 in a patch release. They don't intent to fix it. Nix uses Serde via cargo-hack in CI. Disable it so we can publish a final release at 1.46.0.
1 parent a10078f commit 8c65c37

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.cirrus.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ env:
1111
# The MSRV
1212
TOOLCHAIN: 1.46.0
1313
ZFLAGS:
14+
# Temporarily disable cargo-hack until we raise the MSRV to 1.51.0 or later.
15+
# See https://github.com/nix-rust/nix/pull/1792
16+
NOHACK: 1
1417

1518
# Tests that don't require executing the build binaries
1619
build: &BUILD
@@ -64,7 +67,7 @@ task:
6467
- cargo test --target i686-unknown-freebsd
6568
i386_feature_script:
6669
- . $HOME/.cargo/env
67-
- cargo hack check --each-feature --target i686-unknown-freebsd
70+
- if [ -z "$NOHACK" ]; then cargo hack check --each-feature --target i686-unknown-freebsd; fi
6871
before_cache_script: rm -rf $CARGO_HOME/registry/index
6972

7073
# Test macOS x86_64 in a full VM

0 commit comments

Comments
 (0)