#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

#678 in Magic Beans

Download history 587/week @ 2024-10-08 926/week @ 2024-10-15 2645/week @ 2024-10-22 1094/week @ 2024-10-29 956/week @ 2024-11-05 714/week @ 2024-11-12 548/week @ 2024-11-19 634/week @ 2024-11-26 1390/week @ 2024-12-03 4833/week @ 2024-12-10 2189/week @ 2024-12-17 2528/week @ 2024-12-24 3677/week @ 2024-12-31 3476/week @ 2025-01-07 1293/week @ 2025-01-14 833/week @ 2025-01-21

9,786 downloads per month
Used in cairo-native

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

~14–23MB
~304K SLoC