Build fails with PAPI v6
Opened this issue · 0 comments
MonterraByte commented
Trying to build this crate yields the error
error[E0425]: cannot find function, tuple struct or tuple variant `PAPI_num_counters` in crate `ffi`
--> src/event_set.rs:542:42
|
542 | let num_counters = unsafe { ffi::PAPI_num_counters() };
| ^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `PAPI_num_events`
It seems like the PAPI_num_counters
function was removed in the latest version of the library.