diff --git a/native/lgj-abi/Cargo.toml b/native/lgj-abi/Cargo.toml index bacfde9..ea6b8a6 100644 --- a/native/lgj-abi/Cargo.toml +++ b/native/lgj-abi/Cargo.toml @@ -2,7 +2,7 @@ name = "lgj-abi" version = "0.1.0" edition = "2021" -rust-version = "1.97" +rust-version = "1.98.1" license = "MIT OR Apache-2.0" publish = false description = "The lance-graph-java machine membrane: a self-describing, versioned, bulk-only psABI surface. No C, no JNI, no headers." diff --git a/native/lgj-abi/src/exports.rs b/native/lgj-abi/src/exports.rs index f02e961..5f20431 100644 --- a/native/lgj-abi/src/exports.rs +++ b/native/lgj-abi/src/exports.rs @@ -1761,7 +1761,12 @@ fn exec_error_to_status(e: ExecError) -> i32 { // this file executes the whole population, so reaching either would // be a bug here, exactly like the arms above. | ExecError::ExtentOutOfRange { .. } - | ExecError::ExtentUnsupported { .. } => LGJ_ERR_ALLOCATION_FAILED, + | ExecError::ExtentUnsupported { .. } + // Raised only for `LaneRef::Strided` views and the + // `MaskedStridedGroupSum` terminal. This file lowers neither, so + // reaching either would be a bug here, exactly like the arms above. + | ExecError::StridedOutOfBounds { .. } + | ExecError::StridedGroupWidth { .. } => LGJ_ERR_ALLOCATION_FAILED, } }