hwlocality-sys

Crates.iohwlocality-sys
lib.rshwlocality-sys
version0.5.0
sourcesrc
created_at2023-09-27 16:18:27.011095
updated_at2024-08-10 16:15:27.650216
descriptionLow-level bindings for the hwloc hardware locality library
homepage
repositoryhttps://github.com/HadrienG2/hwlocality
max_upload_size
id984943
size160,552
Hadrien G. (HadrienG2)

documentation

README

hwlocality-sys: The low-level bindings below hwlocality

MIT licensed On crates.io On docs.rs Continuous Integration CII Best Practices Summary Requires rustc 1.75.0+

This crate contains the low-level unsafe Rust -> C FFI bindings to hwloc, that are used to implement the safe hwlocality bindings.

Depending on your needs, you can either link to a libhwloc that is pre-installed on your computer or have hwlocality build its own copy libhwloc internally. Please read the "Prerequisites" section of the hwlocality README for more information about these two options.

Like any C API, the hwlocality-sys low-level bindings are highly unsafe to use, and it is advised that you use the safe hwlocality bindings instead whenever possible. If you encounter any issue with the safe bindings that prevents you from using them and forces you to use the unsafe C API directly, please report them in the issue tracker so we get them fixed.

Commit count: 1016

cargo fmt