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
16
17
18
#[allow(non_camel_case_types)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum Arch {
    X64,
    A64,
}

impl Default for Arch {
    fn default() -> Self {
        Self::X64
    }
}

#[allow(non_upper_case_globals)]
impl Arch {
    pub const X64: Self = Self::X64;
    pub const A64: Self = Self::A64;
}