Skip to content

Commit

Permalink
Allow improper_ctypes
Browse files Browse the repository at this point in the history
This is because the bindings generate [ui]128 values which are not ffi
safe. I'm not 100% happy to include this, but this is a quick fix.
  • Loading branch information
simonrw committed Dec 30, 2022
1 parent 3139d48 commit 57859d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fitsio-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
//! [2]: https://crates.io/crates/fitsio
//! [3]: http://heasarc.gsfc.nasa.gov/docs/software/fitsio/c/c_user/cfitsio.html
#![allow(improper_ctypes)]

#[cfg(not(feature = "bindgen"))]
mod sys {

Expand Down

0 comments on commit 57859d5

Please sign in to comment.