summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2021-10-21 19:28:11 -0600
committerAlan Somers <asomers@gmail.com>2021-10-21 19:43:31 -0600
commit5e7c5f6e885753cb1d8ac2459da5a40b361ac684 (patch)
tree5741044bcc244b937d51b5be5af77c3edef153b2
parentc5db0ea187ca40d678bf57977360d7dda9f59e0a (diff)
downloadnix-5e7c5f6e885753cb1d8ac2459da5a40b361ac684.zip
Temporarily use Rust 1.51.0 for testing cross-based builds
A bug in gimli-rs/object is causing the build to fail at the "cargo install cross" step. Until that's fixed, we must use Rust 1.51.0 or newer for cross-based builds. https://github.com/gimli-rs/object/issues/394
-rw-r--r--.cirrus.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 3848f920..24a075fe 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -77,6 +77,10 @@ task:
PATH: $HOME/.cargo/bin:$PATH
RUSTFLAGS: --cfg qemu -D warnings
TOOL: cross
+ # cross-based builds must temporarily use Rust 1.51.0 due to this bug:
+ # https://github.com/gimli-rs/object/issues/394
+ TOOLCHAIN: 1.51.0
+ CLIPPYFLAGS: -D warnings -A clippy::upper_case_acronyms -A clippy::unnecessary-wraps
matrix:
- name: Linux arm gnueabi
env: