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 array::ArrayTrait;

fn run_test() -> Span<felt252> {
    let mut numbers = array![1, 2].span();

    // should fail (return none)
    assert!(numbers.multi_pop_back::<3>().is_none());

    numbers
}