cairo-native 0.9.0-rc.4

A compiler to convert Cairo's IR Sierra code to MLIR and execute it.
1
2
3
4
5
6
7
8
use core::{array::{array_append, array_at, array_new}, box::{into_box, unbox}};

fn run_test() -> @Box<felt252> {
    let mut x: Array<Box<felt252>> = array_new();
    array_append(ref x, into_box(42));

    unbox(array_at(@x, 0))
}