Skip to content

Commit 7b4b651

Browse files
committed
refactor(ast): put assert_layouts.rs behind debug_assertions
1 parent d9e636d commit 7b4b651

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/oxc_ast/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pub mod syntax_directed_operations;
3737
mod trivia;
3838

3939
mod generated {
40-
#[cfg(test)]
40+
#[cfg(debug_assertions)]
4141
pub mod assert_layouts;
4242
pub mod ast_builder;
4343
pub mod ast_kind;

0 commit comments

Comments
 (0)