Skip to content

Commit 3593fb3

Browse files
committed
lgj-abi: map lance-graph's two new Strided ExecError variants
lance-graph main added ExecError::StridedOutOfBounds and StridedGroupWidth (LaneRef::Strided views and the MaskedStridedGroupSum terminal). exec_error_to_status matched exhaustively, so every CI job that builds against the live sibling failed with E0004 -- main included, on its next run. This file lowers neither construct, so both join the 'a bug in this file' arm, like ExtentOutOfRange / ExtentUnsupported. cargo fmt --check, clippy --all-targets -D warnings and cargo test (196 passed) green against lance-graph origin/main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019HnekoM1EidTwQLS3oFVFm
1 parent 28a7880 commit 3593fb3

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎native/lgj-abi/src/exports.rs‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1761,7 +1761,12 @@ fn exec_error_to_status(e: ExecError) -> i32 {
17611761
// this file executes the whole population, so reaching either would
17621762
// be a bug here, exactly like the arms above.
17631763
| ExecError::ExtentOutOfRange { .. }
1764-
| ExecError::ExtentUnsupported { .. } => LGJ_ERR_ALLOCATION_FAILED,
1764+
| ExecError::ExtentUnsupported { .. }
1765+
// Raised only for `LaneRef::Strided` views and the
1766+
// `MaskedStridedGroupSum` terminal. This file lowers neither, so
1767+
// reaching either would be a bug here, exactly like the arms above.
1768+
| ExecError::StridedOutOfBounds { .. }
1769+
| ExecError::StridedGroupWidth { .. } => LGJ_ERR_ALLOCATION_FAILED,
17651770
}
17661771
}
17671772

0 commit comments

Comments
 (0)