luaur-bytecode 0.1.0

Luau bytecode format and builder (Rust).
Documentation
1
2
3
4
5
6
7
8
use crate::enums::dump_flags::DumpFlags;
use crate::records::bytecode_builder::BytecodeBuilder;

impl BytecodeBuilder {
    pub fn needs_debug_remarks(&self) -> bool {
        (self.dump_flags & DumpFlags::Dump_Remarks as u32) != 0
    }
}