Skip to content
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

fix: use c_char over i8 #8

Merged
merged 1 commit into from
May 14, 2024
Merged

fix: use c_char over i8 #8

merged 1 commit into from
May 14, 2024

Conversation

rkrishn7
Copy link
Owner

c_char is either i8 or u8 depending on the target platform (see https://doc.rust-lang.org/std/os/raw/type.c_char.html)

This fixes compilation problems on architectures like aarch64, for example.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.9%. Comparing base (babb5e7) to head (8b4d62b).

Additional details and impacted files
Files Coverage Δ
src/rules.rs 96.3% <100.0%> (ø)

@rkrishn7 rkrishn7 merged commit b4565bf into main May 14, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants