#run-time #starknet #cairo

cairo-native-runtime

The runtime for cairo-native

5 releases

new 0.2.1-alpha.0 Oct 23, 2024
0.2.0-alpha.4 Oct 16, 2024
0.2.0-alpha.3 Oct 11, 2024
0.2.0-alpha.2 Oct 3, 2024
0.2.0-alpha.1 Sep 27, 2024

#507 in Magic Beans

Download history 256/week @ 2024-09-27 206/week @ 2024-10-04 781/week @ 2024-10-11 2027/week @ 2024-10-18

3,271 downloads per month
Used in cairo-native

Apache-2.0

31KB
604 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

~14–23MB
~300K SLoC