cairo-native 0.2.6

A compiler to convert Cairo's intermediate representation Sierra code to MLIR.
1
2
3
4
5
6
7
8
9
10
11
12
13
struct S {
    a: felt252,
    b: felt252,
    c: felt252,
}

fn main() -> (S, S, S) {
    (
        S{a:0, b: 20, c: 3618502788666131213697322783095070105623107215331596699973092056135872020480},
        S{a:10, b: 3618502788666131213697322783095070105623107215331596699973092056135872020480, c: 20},
        S{a:3618502788666131213697322783095070105623107215331596699973092056135872020480, b: 1, c: 100},
    )
}