Skip to main content

mangle_offload_export

Function mangle_offload_export 

Source
pub fn mangle_offload_export<'tcx>(
    tcx: TyCtxt<'tcx>,
    instance: Instance<'tcx>,
) -> String
Expand description

Compute the v0 symbol name for an offload kernel instance. Forces is_exportable: true to omit the stable_crate_id disambiguator (which differs between host and device passes).