Skip to content

Commit b3249bb

Browse files
fubhyclaude
andcommitted
all: use cargo check --release instead of cargo build --release
Based on feedback from @lutter that release builds are really slow, switch to cargo check --release which can catch conditional compilation issues while being much faster than a full release build. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 2938e3d commit b3249bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CLAUDE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,14 @@ cargo fmt --all
120120
# 🚨 MANDATORY: Check code for warnings and errors - MUST have zero warnings
121121
cargo check
122122

123-
# 🚨 MANDATORY: Build in release mode to catch linking/optimization issues that cargo check misses
124-
cargo build --release
123+
# 🚨 MANDATORY: Check in release mode to catch conditional compilation issues
124+
cargo check --release
125125
```
126126

127127
🚨 **CRITICAL REQUIREMENTS for ANY implementation**:
128128
- **🚨 MANDATORY**: `cargo fmt --all` MUST be run before any commit
129129
- **🚨 MANDATORY**: `cargo check` MUST show zero warnings before any commit
130-
- **🚨 MANDATORY**: `cargo build --release` MUST complete successfully before any commit
130+
- **🚨 MANDATORY**: `cargo check --release` MUST complete successfully before any commit
131131
- **🚨 MANDATORY**: The unit test suite MUST pass before any commit
132132

133133
Forgetting any of these means you failed to follow instructions. Before any commit or PR, ALL of the above MUST be satisfied! No exceptions!

0 commit comments

Comments
 (0)