Skip to content

Commit 31a5a1c

Browse files
committed
chore: run layout_assertions only on test builds.
1 parent 1f743f3 commit 31a5a1c

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(debug_assertions)]
40+
#[cfg(test)]
4141
pub mod assert_layouts;
4242
pub mod ast_builder;
4343
pub mod ast_kind;

0 commit comments

Comments
 (0)