diff options
author | Alan Somers <asomers@gmail.com> | 2022-08-11 17:47:10 -0600 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2022-08-11 17:47:10 -0600 |
commit | 8c65c3702d8db4c06d155e3e9dc6bb18aba01c15 (patch) | |
tree | 0202043ddb55215813e5073b7526a7f8f9fb5d21 | |
parent | a10078f35c9564950035dfc88cb3a2cd9f3d9be3 (diff) | |
download | nix-8c65c3702d8db4c06d155e3e9dc6bb18aba01c15.zip |
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.
-rw-r--r-- | .cirrus.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index 49f259a1..f5c56ab8 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -11,6 +11,9 @@ env: # The MSRV TOOLCHAIN: 1.46.0 ZFLAGS: + # Temporarily disable cargo-hack until we raise the MSRV to 1.51.0 or later. + # See https://github.com/nix-rust/nix/pull/1792 + NOHACK: 1 # Tests that don't require executing the build binaries build: &BUILD @@ -64,7 +67,7 @@ task: - cargo test --target i686-unknown-freebsd i386_feature_script: - . $HOME/.cargo/env - - cargo hack check --each-feature --target i686-unknown-freebsd + - if [ -z "$NOHACK" ]; then cargo hack check --each-feature --target i686-unknown-freebsd; fi before_cache_script: rm -rf $CARGO_HOME/registry/index # Test macOS x86_64 in a full VM |