android: pin the Android Rust toolchain to 1.98 (cuprated needs >= 1.93)
The Android jobs pinned `RUST_TOOLCHAIN: "1.91"` — the workspace MSRV — and the
cuprated graph does not build on it. `tapes`, a Cuprate dependency this repo cannot
patch, calls `VecDeque::pop_front_if`, stable only from 1.93:
error[E0658]: use of unstable library feature `vec_deque_pop_if`
--> /cargo/git/checkouts/tapes-.../src/tapes/rolling_tape.rs:396:34
1.98 is the stable release the graph is built and tested with on the dev machine
(rustc 1.98.1) and the one the cross-compile spike used. `ci.yml`, `release.yml` and
the `rust-version = "1.91"` MSRV are untouched: the feature-off workspace builds on
1.91, and moving the MSRV is a separate decision, flagged in the PR.
Both workflows, and `android/CUPRATE_DAEMON.md` records it as a pitfall.
This commit is contained in:
parent
0a2bcf93a2
commit
adcf52b8e4
3 changed files with 23 additions and 3 deletions
|
|
@ -61,7 +61,10 @@ env:
|
|||
ONIONWIRE_REQUIRE_RELEASE_KEY: "true"
|
||||
ANDROID_IMAGE: debian:bookworm
|
||||
ANDROID_CMDLINE_TOOLS_URL: https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip
|
||||
RUST_TOOLCHAIN: "1.91"
|
||||
# Same as android-ci.yml: the cuprated graph needs >= 1.93 (`tapes` uses
|
||||
# `VecDeque::pop_front_if`), and 1.98 is what this graph is built with. The
|
||||
# workspace MSRV in Cargo.toml is untouched; `ci.yml` and `release.yml` keep 1.91.
|
||||
RUST_TOOLCHAIN: "1.98"
|
||||
DOCKER_STATIC_URL: https://download.docker.com/linux/static/stable/x86_64/docker-27.5.1.tgz
|
||||
BUILD_CONTAINER: onionwire-android-${{ github.run_id }}
|
||||
SDK_VOLUME: onionwire-android-sdk
|
||||
|
|
|
|||
Loading…
Reference in a new issue