Skip to content

Commit

Permalink
test: remove loom code from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
pedromfedricci committed Aug 28, 2024
1 parent 85f7a77 commit e8df132
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cfg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ pub mod cell {
};

#[cfg(all(loom, test))]
#[cfg(not(tarpaulin_include))]
fn null_mut() -> Cell<*mut Self::Target> {
Self::new(core::ptr::null_mut())
}
Expand Down

0 comments on commit e8df132

Please sign in to comment.