#run-time #starknet #cairo

cairo-native-runtime

The runtime for cairo-native

10 releases

new 0.2.5-rc1 Dec 12, 2024
0.2.4 Nov 26, 2024
0.2.1-alpha.0 Oct 23, 2024
0.2.0-alpha.1 Sep 27, 2024

#39 in Magic Beans

Download history 256/week @ 2024-09-27 206/week @ 2024-10-04 781/week @ 2024-10-11 2040/week @ 2024-10-18 1935/week @ 2024-10-25 880/week @ 2024-11-01 900/week @ 2024-11-08 627/week @ 2024-11-15 607/week @ 2024-11-22 772/week @ 2024-11-29 3659/week @ 2024-12-06

5,941 downloads per month
Used in cairo-native

Apache-2.0

32KB
627 lines

The cairo native runtime

This runtime is used automatically when using JIT, but when using AOT, the library needs to be shipped and put in a path where it can be found by a linker.

Getting the library for use in AOT

git clone https://github.com/lambdaclass/cairo_native
cd cairo_native
make runtime
ls libcairo_native_runtime.*

# copy it where you need it, such as /usr/local/lib where it will be found by the linker

Dependencies

~15–23MB
~306K SLoC