Skip to content

Commit 71ed987

Browse files
committed
libbpf-rs updated to libbpf-sys v0.8.2
Signed-off-by: Milan <milan@mdaverde.com>
1 parent 73400cc commit 71ed987

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

Cargo.lock

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

bpf-rs/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@ authors = ["Milan <milan@mdaverde.com>", "bpfdeploy.io <team@bpfdeploy.io>"]
1212
[dependencies]
1313
num_enum = "0.5.7"
1414
thiserror = "1.0.30"
15-
libbpf-sys = { version = "0.8.0", package = "bpfdeploy-libbpf-sys" }
15+
libbpf-sys = "0.8.2"
1616
serde = { version = "1.0.136", optional = true, features = ["derive"] }
1717
bpf-rs-macros = { version = "0.0.2", path = "../bpf-rs-macros" }
1818

19+
[dev-dependencies]
20+
bpfdeploy-libbpf-sys = "0.8.0"
21+
1922
[features]
2023
serde = ["dep:serde", "bpf-rs-macros/serde"]

bpf-rs/src/insns.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ pub fn exit() -> sys::bpf_insn {
257257

258258
#[cfg(test)]
259259
mod tests {
260+
use bpfdeploy_libbpf_sys as sys;
260261
use super::*;
261-
use libbpf_sys as sys;
262262

263263
#[test]
264264
fn test_abi_compat() {

0 commit comments

Comments
 (0)