hwloc-rs icon indicating copy to clipboard operation
hwloc-rs copied to clipboard

FFI binding is outdated

Open xiaoniu-578fa6bff964d005 opened this issue 5 years ago • 1 comments

Due to the changing of definition on hwloc_cpubind_flags_t ref in new version of hwloc, the old binding in rust is outdated ref.

I assume there are two solutions:

  1. Restrict the version at 1.11. ref
  2. Renew the binding. (But I'm not sure what else need to be changed for 2.1 version)

@xiaoniu-578fa6bff964d005 I have an updated bindings which is compatible with hwloc 2.2.0 and beyond: https://crates.io/crates/hwloc2

Ichbinjoe avatar May 22 '20 05:05 Ichbinjoe