luaur-common 0.1.3

Foundational data structures and flags for the luaur Luau-in-Rust toolchain.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! `LUAU_TIMETRACE_ARGUMENT(name, value)`. Reference:
//! `luau/Common/include/Luau/TimeTrace.h`. No-op in the default build
//! (`LUAU_ENABLE_TIME_TRACE` off — the C++ `#else` is `do {} while (false)`); see
//! [`crate::macros::luau_timetrace_scope`] for the feature-gating note.

#[macro_export]
#[allow(non_snake_case)]
macro_rules! LUAU_TIMETRACE_ARGUMENT {
    ($name:expr, $value:expr) => {};
}

pub use LUAU_TIMETRACE_ARGUMENT;