Skip to content

Commit 11bca9f

Browse files
committed
fixup! libbpf-cargo: Honor ObjectBuilder in skeleton infrastructure
1 parent c790d16 commit 11bca9f

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libbpf-cargo/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ libbpf-sys_restricted = { package = "libbpf-sys", version = ">=1.5.0, <=1.6.2",
4848
goblin = "0.9"
4949
indoc = "2"
5050
test-log = { version = "0.2.16", default-features = false, features = ["trace"] }
51+
test-tag = "0.1"
5152
vmlinux = { git = "https://github.com/libbpf/vmlinux.h.git", rev = "991dd4b8dfd8c9d62ce8999521b24f61d9b7fc52" }
5253

5354
[lints]

libbpf-cargo/src/test.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ use tempfile::tempdir;
2020
use tempfile::NamedTempFile;
2121
use tempfile::TempDir;
2222
use test_log::test;
23+
use test_tag::tag;
2324

2425
use crate::build::build_project;
2526
use crate::build::BpfObjBuilder;
@@ -813,6 +814,7 @@ fn test_skeleton_builder_basic() {
813814
assert!(status.success());
814815
}
815816

817+
#[tag(root)]
816818
#[test]
817819
fn test_skeleton_builder_custom_opts() {
818820
let bpf_c = indoc! {r#"

0 commit comments

Comments
 (0)