embed_resource

Function compile_for_everything

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

Likewise, but link the resource into every artifact: binaries, cdylibs, examples, tests ([[test]]/#[test]/doctest), benchmarks, &c.

Only available since rustc 1.50.0, does nothing before.