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
use crate::records::module_bind_result::ModuleBindResult;
use crate::records::standalone_code_gen_context::StandaloneCodeGenContext;
use crate::type_aliases::module_id::ModuleId;
use alloc::vec::Vec;
use luaur_vm::records::proto::Proto;

impl StandaloneCodeGenContext {
    pub fn try_bind_existing_module(
        &mut self,
        _module_id: &ModuleId,
        _module_protos: &Vec<*mut Proto>,
    ) -> Option<ModuleBindResult> {
        // The StandaloneCodeGenContext does not support sharing of native code
        None
    }
}