Skip to content

Commit

Permalink
Fix miri tests
Browse files Browse the repository at this point in the history
  • Loading branch information
niluxv committed Aug 20, 2024
1 parent e99e520 commit fdd7f11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/zeroize/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ fn test_b127_nightly_zeroizer() {
test_b127_zeroizer(nightly::zeroize_mem);
}

#[cfg_attr(miri, ignore)]
#[test]
fn test_b127_asm_barier_zeroizer() {
test_b127_zeroizer(asm_barier::zeroize_mem);
Expand All @@ -49,6 +50,7 @@ fn test_b239_lowalign_volatile_memset_zeroizer() {
test_b239_lowalign_zeroizer(nightly::zeroize_mem);
}

#[cfg_attr(miri, ignore)]
#[test]
fn test_b239_lowalign_asm_barier_zeroizer() {
test_b239_lowalign_zeroizer(asm_barier::zeroize_mem);
Expand Down

0 comments on commit fdd7f11

Please sign in to comment.