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
9
10
use core::box::BoxTrait;

enum MyEnum {
    A: felt252,
}

fn run_test() -> MyEnum {
    let x = BoxTrait::new(MyEnum::A(1234));
    x.unbox()
}