scx-upstream/scheds/rust/scx_rlfifo/build.rs
Andrea Righi 00e25530bc scx_rlfifo: simple user-space FIFO scheduler written in Rust
Implement a FIFO scheduler as an example usage of scx_rustland_core.

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
2024-02-28 17:49:44 +01:00

12 lines
386 B
Rust

// This software may be used and distributed according to the terms of the
// GNU General Public License version 2.
fn main() {
scx_utils::BpfBuilder::new()
.unwrap()
.enable_intf("../../../rust/scx_rustland_core/src/bpf/intf.h", "bpf_intf.rs")
.enable_skel("../../../rust/scx_rustland_core/src/bpf/main.bpf.c", "bpf")
.build()
.unwrap();
}