Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider exposing component/plugin API #12

Open
HadrienG2 opened this issue Feb 16, 2023 · 1 comment
Open

Consider exposing component/plugin API #12

HadrienG2 opened this issue Feb 16, 2023 · 1 comment
Labels
api coverage Feature-parity with the underlying hwloc API enhancement New feature or request help wanted Extra attention is needed

Comments

@HadrienG2
Copy link
Owner

In principle, it is possible to extend hwloc by writing plugins for it. However, the compile-time constant used to evaluate ABI compatibility is a header define, which means I can't check it from Rust, so I'm not sure if exposing this from the Rust side is a good idea. It will probably require at least a little build.rs hackery to get back the define value into Rust.

In any case, here's the docs:

@HadrienG2 HadrienG2 added enhancement New feature or request api coverage Feature-parity with the underlying hwloc API labels Feb 16, 2023
@HadrienG2 HadrienG2 changed the title Expose component/plugin API? Consider exposing component/plugin API Feb 16, 2023
@HadrienG2 HadrienG2 added the help wanted Extra attention is needed label Feb 25, 2023
@HadrienG2
Copy link
Owner Author

This API is going to take significant effort to bind, and I cannot think of a good use case for it at the moment. If you would have an interest in it, please speak up and describe your use case a bit here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api coverage Feature-parity with the underlying hwloc API enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant