starpu_sys/
lib.rs

1#![doc = include_str!("../README.md")]
2
3/// StarPU bindings
4#[allow(
5    clippy::missing_safety_doc,
6    clippy::ptr_offset_with_cast,
7    clippy::too_many_arguments,
8    clippy::useless_transmute,
9    improper_ctypes,
10    non_camel_case_types,
11    non_snake_case,
12    non_upper_case_globals,
13    rustdoc::broken_intra_doc_links,
14    rustdoc::invalid_html_tags,
15    rustdoc::bare_urls
16)]
17mod bindgen {
18    #[cfg(feature = "opencl")]
19    use cl_sys::*;
20    use hwlocality_sys::*;
21    use libc::*;
22    include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
23}
24pub use bindgen::*;
25
26// Re-export types from other libraries used in the StarPU bindings
27
28/// OpenCL types (only available if the "opencl" feature is enabled)
29#[cfg(feature = "opencl")]
30pub use cl_sys;
31
32/// hwloc types
33pub use hwlocality_sys;
34
35/// libc types
36pub use libc;