#run-time #starknet #cairo

cairo-native-runtime

The runtime for cairo-native

6 releases

new 0.2.2-alpha.0 Nov 14, 2024
0.2.1-alpha.0 Oct 23, 2024
0.2.0-alpha.1 Sep 27, 2024

#37 in #starknet

Download history 161/week @ 2024-09-26 255/week @ 2024-10-03 686/week @ 2024-10-10 2029/week @ 2024-10-17 1749/week @ 2024-10-24 1030/week @ 2024-10-31 897/week @ 2024-11-07

5,874 downloads per month
Used in cairo-native

Apache-2.0

32KB
623 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
~303K SLoC