Skip to main content

build_default

Function build_default 

Source
pub fn build_default()
Expand description

Build the BPF crate in bpf/ beside the build script, for a scheduler that calls and reads nothing from the kernel but through scx_rustsched: the runtime’s kfuncs, kernel variables and global functions, and an object for each kind of kernel. The whole build script of such a scheduler is fn main() { scx_rustsched_build::build_default(); }.