Skip to content

Commit 41c27e6

Browse files
Test Userclaude
andcommitted
fix(ci): pass --features zlob in pre-build step too
Pre-build at script line 98 ran cargo build --workspace --all-targets without --features zlob. fff-search build.rs panics under CI when zlob isn't enabled (intentional gate). Clippy step at line 112 already had the flag; pre-build needed it too. Unblocks lint-and-format CI for PR #818 and any future PR. Refs #818 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 7b61aee commit 41c27e6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

scripts/ci-check-format.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,11 @@ else
9393
fi
9494

9595
echo -e "${BLUE}🔍 Running cargo clippy...${NC}"
96-
# Pre-build dependencies to avoid timeout
96+
# Pre-build dependencies to avoid timeout. Use --features zlob so fff-search's
97+
# build.rs (which panics under CI without zlob) succeeds; matches the clippy
98+
# invocation below.
9799
echo "Pre-building dependencies..."
98-
if cargo build --workspace --all-targets; then
100+
if cargo build --workspace --all-targets --features zlob; then
99101
echo -e "${GREEN} ✅ Dependencies pre-built successfully${NC}"
100102
else
101103
echo -e "${YELLOW} ⚠️ Dependency pre-build had issues, continuing anyway${NC}"

0 commit comments

Comments
 (0)