cairo-native 0.9.0-rc.5

A compiler to convert Cairo's IR Sierra code to MLIR and execute it.
1
2
3
4
5
6
7
8
use traits::Default;
use dict::Felt252DictTrait;

fn run_test(key: felt252, val: felt252) -> felt252 {
    let mut dict: Felt252Dict<felt252> = Default::default();
    dict.insert(key, val);
    dict.get(key)
}