KERNEL_ID_GRAMMAR

Constant KERNEL_ID_GRAMMAR 

Source
pub const KERNEL_ID_GRAMMAR: &str = "exact version (`6.14`), inclusive range (`6.14..7.0` or \
     `6.14..=7.0`), git source (`git+URL#tag=NAME`, `git+URL#branch=NAME`, or \
     `git+URL#sha=<40-hex>`), absolute or `~`-prefixed path, or cache key";
Expand description

Human-readable enumeration of every form KernelId::parse accepts. The macro-time rejection in declare_scheduler!(kernels = […]) cites this const verbatim. The runtime cache-lookup bails in ktstr / cargo-ktstr cite the KTSTR_KERNEL_HINT const, a manual mirror of this same wording — const composition cannot concat! a const &str, only literals — so keep the two in sync when either changes.