Skip to main content

arpack_sys/
lib.rs

1//! FFI bindings to ARPACK-NG.
2//!
3//! The bindings are pre-generated by `bindgen` against `<arpack/arpack.h>`
4//! from ARPACK-NG (the `_c` C-callable wrappers introduced in 3.8.0).
5//! Linking is handled by `build.rs` via `pkg-config`.
6//!
7//! No safety wrappers live here — see the sibling `arpack` crate for the
8//! safe Rust API.
9
10#![allow(non_upper_case_globals)]
11#![allow(non_camel_case_types)]
12#![allow(non_snake_case)]
13
14// 32-bit-pointer-width targets are out of scope: workspace-size
15// arithmetic in the safe wrapper is bounded only by `usize` /
16// `isize::MAX`, and ARPACK use cases on 32-bit are not part of the
17// supported envelope. Open an issue if 32-bit support is needed.
18#[cfg(not(target_pointer_width = "64"))]
19compile_error!("arpack-sys is supported only on 64-bit-pointer-width targets");
20
21include!("bindings.rs");