Bump to latest Rust nightly

This commit is contained in:
Andrew 2026-03-24 15:51:55 -04:00 committed by andrew-signal
parent 75925e46d7
commit 1283a8a00b
4 changed files with 6 additions and 10 deletions

View File

@ -544,7 +544,7 @@ jobs:
# This isn't fuzzing, but we have to do it with a nightly compiler, so we're going to tack it on to this job.
- name: Build everything with no lockfile and -Zdirect-minimal-versions
run: mkdir minimal-versions && bin/without_building_boring.sh cargo check --workspace --all-targets --all-features --verbose --keep-going -Zdirect-minimal-versions -Zunstable-options --lockfile-path minimal-versions/Cargo.lock
run: mkdir minimal-versions && CARGO_RESOLVER_LOCKFILE_PATH=minimal-versions/Cargo.lock bin/without_building_boring.sh cargo check --workspace --all-targets --all-features --verbose --keep-going -Zdirect-minimal-versions -Zlockfile-path
report-failures:
name: Report Failures

View File

@ -64,5 +64,5 @@ check-pre-commit: check-format-all check-python
shellcheck -- **/*.sh bin/verify_duplicate_crates bin/adb-run-test
cargo test --workspace --all-features --verbose --no-fail-fast -- --include-ignored
cargo clippy --workspace --all-targets --all-features --keep-going -- -D warnings
env "CARGO_TARGET_DIR=$PWD/target/without_building_boring" bin/without_building_boring.sh cargo check --workspace --all-targets --all-features --keep-going -Zdirect-minimal-versions -Zunstable-options --lockfile-path $(mktemp -d)/Cargo.lock
env "CARGO_TARGET_DIR=$PWD/target/without_building_boring" "CARGO_RESOLVER_LOCKFILE_PATH=$(mktemp -d)/Cargo.lock" bin/without_building_boring.sh cargo check --workspace --all-targets --all-features --keep-going -Zdirect-minimal-versions -Zlockfile-path
@printf "\e[32mBasic pre-commit checks passed! ✅ Hopefully good to push! 🤞\e[0m\n"

View File

@ -1 +1 @@
nightly-2026-02-11
nightly-2026-03-23

View File

@ -2387,11 +2387,8 @@ impl<'a> ResultTypeInfo<'a> for PreKeysResponse {
ClassName("org.signal.libsignal.protocol.state.PreKeyBundle"),
)
.check_exceptions(env, "PreKeysResponse::convert_into")?;
let pre_key_bundles = make_object_array_mapped(
env,
&element_class,
self.pre_key_bundles.into_iter(),
|env, bundle| {
let pre_key_bundles =
make_object_array_mapped(env, &element_class, self.pre_key_bundles, |env, bundle| {
let handle = bundle.convert_into(env)?;
new_object(
env,
@ -2401,8 +2398,7 @@ impl<'a> ResultTypeInfo<'a> for PreKeysResponse {
) -> void),
)
.check_exceptions(env, "PreKeysResponse::convert_into")
},
)?;
})?;
new_instance(
env,
ClassName("kotlin.Pair"),