Skip to content

Commit d0297db

Browse files
rzvxaoverlookmotel
authored andcommitted
chore: run layout_assertions only on test builds.
1 parent aa63a6d commit d0297db

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)