Skip to content

Commit

Permalink
fix(features/loom): cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsonin committed May 23, 2024
1 parent 0d41af4 commit 312b5e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/loom.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![cfg(loom)]
#![cfg(feature = "loom")]

use blazemap::{
define_key_wrapper, define_key_wrapper_bounded, define_plain_id,
Expand Down
2 changes: 1 addition & 1 deletion tests/miri.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![cfg(all(not(loom), feature = "serde"))]
#![cfg(all(not(feature = "loom"), feature = "serde"))]

use crate::random_action::{ActionPeekWeights, EventWeights};
use blazemap::{define_key_wrapper, define_key_wrapper_bounded, prelude::BlazeMap};
Expand Down
2 changes: 1 addition & 1 deletion tests/random_action.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ macro_rules! process_iter_mut_action {
}
while $iterator.len() != 0 {
let event = IterMutPeekWeights::new(&(), $rng).generate($rng);
#[cfg(all(miri, target = "miri_action_log"))]
#[cfg(all(miri, feature = "miri_action_log"))]
{
println!("{} {:?}", $log_suffix, $event);
std::io::stdout().flush().unwrap();
Expand Down

0 comments on commit 312b5e2

Please sign in to comment.