embed_resource

Function compile_for_benchmarks

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

Likewise, but only link the resource to benchmarks.

Only available since rustc 1.60.0, does nothing before.