andriyDev / recastnavigation-rs-sys

Raw Rust FFI bindings for recastnavigation.
MIT License
7 stars 2 forks source link

Add a check for 32bit Windows to target nightly Rust. #5

Closed andriyDev closed 1 year ago

andriyDev commented 1 year ago

Previously, compiling with non-nightly Rust meant 32bit Windows would fail to generate bindings - bindgen will not use the "thiscall" ABI unless using nightly Rust. The bindings would therefore have (almost) nothing in them, so any calls would fail. Now at least there will be a warning, and if using nightly Rust, this will work!

Fixes #3.

codecov[bot] commented 1 year ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (d4507c8) 99.57% compared to head (19072d6) 99.57%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #5 +/- ## ======================================= Coverage 99.57% 99.57% ======================================= Files 1 1 Lines 698 698 ======================================= Hits 695 695 Misses 3 3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.