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
use crate::records::shared_code_gen_context::SharedCodeGenContext;

impl SharedCodeGenContext {
    pub fn on_close_state(&mut self) {
        // The lifetime of the SharedCodeGenContext is managed separately from the
        // VMs that use it. When a VM is destroyed, we don't need to do anything
        // here.
    }
}

#[allow(non_snake_case)]
pub fn shared_code_gen_context_on_close_state(this: &mut SharedCodeGenContext) {
    this.on_close_state();
}