ktstr 0.5.2

Test harness for Linux process schedulers
1
2
3
4
5
6
7
8
9
10
11
// Tilde-prefixed paths are not expanded at compile time or by the
// runtime — `path.exists()` checks the literal `~/foo` against the
// filesystem, which never matches. Reject up-front with the fix.
use ktstr::declare_scheduler;

declare_scheduler!(BINARY_PATH_TILDE, {
    name = "binary_path_tilde",
    binary_path = "~/scx_tilde_sched",
});

fn main() {}