forked from libbpf/libbpf-rs
-
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.
libbpf-cargo: Introduce dedicated link step to BpfObjBuilder
Building a BPF object file already invokes the libbpf linker in order to strip DWARF debug information from the resulting file. In the future we would like to link multiple files instead of only a single one, so refactor the code in such a way that we have a dedicated link step in BpfObjBuilder::build(). Signed-off-by: Daniel Müller <deso@posteo.net>
- Loading branch information
Showing
1 changed file
with
23 additions
and
26 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