rustler_codegen 0.38.0

Compiler plugin for Rustler
Documentation
1
2
3
4
5
6
7
8
use rustler_codegen::nif;

#[nif(schedule = "DirtyGPU")]
fn add(a: i64, b: i64) -> i64 {
    a + b
}

fn main() {}