-
Notifications
You must be signed in to change notification settings - Fork 3
chore: update GitHub Actions to use ubuntu-22.04-arm for all jobs #169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughUpdated GitHub Actions workflows to run on Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Poem
Pre-merge checks and finishing touches✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (4)**/*.rs📄 CodeRabbit inference engine (CLAUDE.md)
Files:
{dash-network-ffi,dash-spv-ffi,key-wallet-ffi,swift-dash-core-sdk}/**/*.{rs,c,h,swift}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
**/src/**/*.rs📄 CodeRabbit inference engine (AGENTS.md)
Files:
*-ffi/**📄 CodeRabbit inference engine (AGENTS.md)
Files:
🧠 Learnings (12)📓 Common learnings📚 Learning: 2025-08-29T04:01:18.111ZApplied to files:
📚 Learning: 2025-08-29T04:01:18.111ZApplied to files:
📚 Learning: 2025-08-29T04:01:18.111ZApplied to files:
📚 Learning: 2025-08-29T04:01:18.111ZApplied to files:
📚 Learning: 2025-08-29T04:01:18.111ZApplied to files:
📚 Learning: 2025-08-16T04:14:07.718ZApplied to files:
📚 Learning: 2025-08-29T04:01:18.111ZApplied to files:
📚 Learning: 2025-08-29T04:01:18.111ZApplied to files:
📚 Learning: 2025-08-29T04:01:18.111ZApplied to files:
📚 Learning: 2025-08-29T04:00:14.154ZApplied to files:
📚 Learning: 2025-06-26T15:48:36.342ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (16)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
6ed44a6 to
6b83bb5
Compare
6b83bb5 to
cbc1dd9
Compare
Replace hardcoded i8 casts with c_char to fix ARM compilation errors. On ARM architectures, c_char is u8 (not i8 as on x86/x86_64), causing type mismatches in FFI test code. - Replace all *mut i8 and *const i8 casts with c_char equivalents - Update array declarations from [0i8; N] to [0u8; N] with proper casting - Add c_char import to all affected test files
Replace 'as *mut u8' casts with .cast::<u8>() method to fix clippy warnings about unnecessary casts on ARM architectures. On ARM, c_char is u8, making the explicit cast unnecessary. Using .cast::<u8>() is the modern Rust approach and avoids clippy warnings while maintaining platform compatibility.
Summary by CodeRabbit
Chores
Bug Fixes
Tests