forked from libbpf/blazesym
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make _non_exhaustive markers public but hidden
With an upcoming change we are going to factor out the functionality making up the C API into a separate crate. Being in a separate crate, access to our pub(crate) _non_exhaustive markers is no longer possible. With this change we make these markers public. From an API contract nothing changes, as affected types keep being documented as having private fields. But it is now possible to check the source code for the respective names and just initialize the members. While possible, this is explicitly not a supported use case for the general public. The C API crate will make sure to pin the blazesym version consumed. Signed-off-by: Daniel Müller <[email protected]>
- Loading branch information
1 parent
29ffbc3
commit d8a36e0
Showing
4 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters