embed_resource

Function compile_for_examples

Source
pub fn compile_for_examples<T: AsRef<Path>, Ms: AsRef<OsStr>, Mi: IntoIterator<Item = Ms>>(
    resource_file: T,
    macros: Mi,
) -> CompilationResult
Expand description

Likewise, but only link the resource to examples.

Only available since rustc 1.60.0, does nothing before.