diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b9a8b1c4..4e901826 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: - name: Install Rust toolchain (per rust-toolchain.toml) uses: dtolnay/rust-toolchain@master with: - toolchain: 1.97.1 + toolchain: 1.98.1 components: rustfmt, clippy - uses: Swatinem/rust-cache@v2 - name: cargo check --workspace --all-targets diff --git a/crates/ogar-a2ui-frame/src/lib.rs b/crates/ogar-a2ui-frame/src/lib.rs index b7ae440c..53b66306 100644 --- a/crates/ogar-a2ui-frame/src/lib.rs +++ b/crates/ogar-a2ui-frame/src/lib.rs @@ -245,8 +245,10 @@ impl Frame { }); } let mask_words = payload[FIXED..mask_end] - .chunks_exact(8) - .map(|c| u64::from_le_bytes([c[0], c[1], c[2], c[3], c[4], c[5], c[6], c[7]])) + .as_chunks::<8>() + .0 + .iter() + .map(|c| u64::from_le_bytes(*c)) .collect(); Ok(Self::NodeDelta(NodeDelta { key, diff --git a/crates/ogar-r2il/examples/probe_counterfactual_witness_kernel.rs b/crates/ogar-r2il/examples/probe_counterfactual_witness_kernel.rs index b9896998..5be46a2f 100644 --- a/crates/ogar-r2il/examples/probe_counterfactual_witness_kernel.rs +++ b/crates/ogar-r2il/examples/probe_counterfactual_witness_kernel.rs @@ -45,7 +45,7 @@ //! - G1: segmentation is GREEN over the mixed core+R2IL body, and the edit //! is CONFINED: outside the edited statement's `CallMask`, the projected //! calls of factual and counterfactual slabs are identical; inside, they -//! differ (the lens proves locality — can-fire + can-stay-silent). +//! differ (the lens proves locality — can-fire + can-stay-silent). //! - G2a (CF-1a intra-run swap): byte > 0, exact-area > 0, increment == 0 //! (net per-locus counts unchanged — increments are structurally blind //! to dataflow order), register == 0 — the orientation bit is diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 5ec58696..c9901407 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] -channel = "1.97.1" +channel = "1.98.1" components = ["rustfmt", "clippy"] profile = "minimal"