Skip to content

Build fails with PAPI v6 #1

Description

@MonterraByte

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions