ktstr 0.5.2

Test harness for Linux process schedulers
1
2
3
4
5
6
7
8
9
10
11
12
// Mutual exclusion across {binary, binary_path, binary_kernel}: each
// field selects a different `SchedulerSpec` variant and they cannot
// stack. The macro rejects with the pick-exactly-one diagnostic.
use ktstr::declare_scheduler;

declare_scheduler!(BINARY_AND_BINARY_PATH, {
    name = "binary_and_binary_path",
    binary = "scx_foo",
    binary_path = "/usr/local/bin/scx_foo",
});

fn main() {}