Skip to main content

with_marker

Function with_marker 

Source
pub fn with_marker<T>(what: &str, f: impl FnOnce() -> T) -> T
Expand description

Run driver work f (what: “device creation”, “kernel compilation”…) between writing and removing the init marker (if one is set).