cairo_lang_sierra::extensions::modules::utils

Function reinterpret_cast_signature

Source
pub fn reinterpret_cast_signature(
    from_ty: ConcreteTypeId,
    to_ty: ConcreteTypeId,
) -> LibfuncSignature
Expand description

Returns a libfunc signature that casts from one type to another, without changing the internal representation. The implementation must be the identity function (no CASM output).