Skip to content

Always expose interposer API #164

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

Merged
merged 1 commit into from
Jun 2, 2025
Merged

Always expose interposer API #164

merged 1 commit into from
Jun 2, 2025

Conversation

rauhul
Copy link
Collaborator

@rauhul rauhul commented Jun 2, 2025

The interposer API is fairly undiscoverable and the docc catalog does not include the symbols because they are hidden behind a #if. This has the knock on affect of not being able to link to the symbols too.

This commit changes MMIO to always expose interposing API. The APIs are marked with a deprecation warning when not compiled with FEATURE_INTERPOSABLE and are a no-op. As a result the docc catalog now includes documentation for these symbols and can reference them throughout the catalog.

The interposer API is fairly undiscoverable and the docc catalog does
not include the symbols because they are hidden behind a `#if`. This has
the knock on affect of not being able to link to the symbols too.

This commit changes MMIO to always expose interposing API. The APIs are
marked with a deprecation warning when not compiled with
`FEATURE_INTERPOSABLE` and are a no-op. As a result the docc catalog now
includes documentation for these symbols and can reference them
throughout the catalog.
@rauhul rauhul merged commit 44a311f into main Jun 2, 2025
16 checks passed
@rauhul rauhul deleted the always-expose-interpose-api branch June 2, 2025 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant