luaur-code-gen 0.1.1

Native (A64/X64) code generation for Luau (Rust).
Documentation
1
2
3
4
5
6
7
use core::fmt::Write;

pub(crate) fn append(result: &mut alloc::string::String, args: core::fmt::Arguments<'_>) {
    // write! returns fmt::Result; truncation is acceptable (the C++ version
    // also truncated to a 256-byte buffer).
    let _ = result.write_fmt(args);
}