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_OPTIONAL_TAIL_SCOPE(name, category, microsec)`. Reference:
//! `luau/Common/include/Luau/TimeTrace.h`. No-op in the default build
//! (`LUAU_ENABLE_TIME_TRACE` off — the C++ `#else` form); see
//! [`crate::macros::luau_timetrace_scope`] for the feature-gating note.

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

pub use LUAU_TIMETRACE_OPTIONAL_TAIL_SCOPE;