cairo-native 0.9.0-rc.9

A compiler to convert Cairo's IR Sierra code to MLIR and execute it.
1
2
3
4
5
6
7
8
9
#[derive(Drop)]
struct Wrapper {
    a: felt252,
    b: Box<felt252>,
}

fn main(x: Wrapper) -> felt252 {
    x.a + x.b.unbox()
}