stn := @use("stn") main := fn(): int { exe := u8.[ 0x15, 145, 210, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 85, 0 ] test(@bitcast(&exe), 49) loop{} return 0 } assert_eq := fn(lhs: bool, rhs: bool): bool { lhs == rhs } assert_neq := fn(lhs: bool, rhs: bool): bool { lhs != rhs } test := fn(exe_data: ^u8, exe_size: uint): uint { // TODO: Spawn new process pid := @inline(stn.process.spawn, exe_data, exe_size) stn.log.info("PID") return 0 }