luaur-code-gen 0.1.3

Native (A64/X64) code generation for Luau (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[allow(non_camel_case_types)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[repr(u8)]
pub enum CategoryX64 {
    reg,
    mem,
    imm,
}

#[allow(non_upper_case_globals)]
impl CategoryX64 {
    pub const reg: Self = Self::reg;
    pub const mem: Self = Self::mem;
    pub const imm: Self = Self::imm;
}