Skip to content

Commit 07f050e

Browse files
committed
fix(core): update hardcoded debug-profile eBPF object path
The debug_assertions branch in source.rs still pointed at the pre-move target/bpfel-unknown-none/... location; the previous commit relocated the nested eBPF build to target/ebpf-subbuild/... to avoid the cargo lock deadlock, which broke this hardcoded path for dev/test builds (clippy and cargo test both use the debug_assertions branch).
1 parent 7edde0b commit 07f050e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

oom-watcher/src/source.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ mod ebpf_source {
4040

4141
#[cfg(debug_assertions)]
4242
let mut bpf = Ebpf::load(include_bytes_aligned!(
43-
"../../target/bpfel-unknown-none/release/oom-watcher-ebpf"
43+
"../../target/ebpf-subbuild/bpfel-unknown-none/release/oom-watcher-ebpf"
4444
))?;
4545
#[cfg(not(debug_assertions))]
4646
let mut bpf = Ebpf::load(include_bytes_aligned!(concat!(

0 commit comments

Comments
 (0)