compile_for_examples

Function compile_for_examples 

Source
pub fn compile_for_examples<T: AsRef<Path>, Ms: AsRef<OsStr>, Mi: IntoIterator<Item = Ms>, Is: AsRef<OsStr>, Ii: IntoIterator<Item = Is>, P: Into<ParameterBundle<Ms, Mi, Is, Ii>>>(
    resource_file: T,
    parameters: P,
) -> CompilationResult
Expand description

Likewise, but only link the resource to examples.

Only available since rustc 1.60.0, does nothing before.