Skip to content

Commit

Permalink
refactor(ast): put assert_layouts.rs behind debug_assertions (#4621)
Browse files Browse the repository at this point in the history
#4615 was showing as green on all checks, but failed CI on main once merged because of errors in "Test wasm32-wasip1-threads" job, which only runs on main. This change will make sure any such problem gets caught at the PR stage in future.
  • Loading branch information
rzvxa committed Aug 3, 2024
1 parent 61e8b8c commit ba70001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/oxc_ast/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub mod syntax_directed_operations;
mod trivia;

mod generated {
#[cfg(test)]
#[cfg(debug_assertions)]
pub mod assert_layouts;
pub mod ast_builder;
pub mod ast_kind;
Expand Down

0 comments on commit ba70001

Please sign in to comment.