#run-time #starknet #cairo

cairo-native-runtime

The runtime for cairo-native

14 releases

new 0.2.8 Jan 13, 2025
0.2.7 Jan 9, 2025
0.2.5-rc2 Dec 27, 2024
0.2.4 Nov 26, 2024
0.2.0-alpha.1 Sep 27, 2024

#767 in Magic Beans

Download history 141/week @ 2024-09-23 170/week @ 2024-09-30 507/week @ 2024-10-07 461/week @ 2024-10-14 2756/week @ 2024-10-21 1398/week @ 2024-10-28 889/week @ 2024-11-04 833/week @ 2024-11-11 574/week @ 2024-11-18 575/week @ 2024-11-25 1237/week @ 2024-12-02 4689/week @ 2024-12-09 2353/week @ 2024-12-16 2281/week @ 2024-12-23 3755/week @ 2024-12-30 3254/week @ 2025-01-06

12,749 downloads per month
Used in cairo-native

Apache-2.0

34KB
682 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