Skip to main content

compile_for_cdylib

Function compile_for_cdylib 

Source
pub fn compile_for_cdylib<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 the cdylib.

Only available since rustc 1.61.0, does nothing before.