-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Error enumeration from libbpf-cargo
The Error enumeration in libbpf-cargo doesn't really serve any meaningful purposes at this point: sure, it helps users differentiate between build and generation errors, but the difference arguably has no semantic significance that is worth preserving. On top of that, users can always invoke build() and generate() instead of build_and_generate() to have literally the same information at their finger tips. Remove the Error type in favor of just exposing a anyhow::Error, which is probably the most flexible. Signed-off-by: Daniel Müller <[email protected]>
- Loading branch information
Showing
4 changed files
with
18 additions
and
28 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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