cairo_native_runtime

Function cairo_native__set_costs_builtin

Source
#[no_mangle]
pub extern "C" fn cairo_native__set_costs_builtin(
    ptr: *const u64,
) -> *const u64
Expand description

Store the gas builtin in the internal thread local. Returns the old pointer, to restore it after execution. Not a runtime metadata method, it should be called before the program is executed.