#run-time #starknet #cairo

cairo-native-runtime

The runtime for cairo-native

15 releases

0.2.9 Jan 20, 2025
0.2.8 Jan 13, 2025
0.2.5-rc2 Dec 27, 2024
0.2.4 Nov 26, 2024
0.2.0-alpha.1 Sep 27, 2024

#48 in #cairo

Download history 1797/week @ 2024-10-23 1153/week @ 2024-10-30 918/week @ 2024-11-06 727/week @ 2024-11-13 517/week @ 2024-11-20 605/week @ 2024-11-27 3198/week @ 2024-12-04 3289/week @ 2024-12-11 2083/week @ 2024-12-18 2612/week @ 2024-12-25 3999/week @ 2025-01-01 3259/week @ 2025-01-08 1064/week @ 2025-01-15 1007/week @ 2025-01-22 270/week @ 2025-01-29 50/week @ 2025-02-05

2,870 downloads per month

Apache-2.0

35KB
720 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
~312K SLoC