luaur-code-gen 0.1.0

Native (A64/X64) code generation for Luau (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::enums::abix_64::ABIX64;

pub fn get_current_x_64_abi() -> ABIX64 {
    #[cfg(target_os = "windows")]
    {
        ABIX64::Windows
    }
    #[cfg(not(target_os = "windows"))]
    {
        ABIX64::SystemV
    }
}