Skip to content

Commit

Permalink
test: fix memory usage tests
Browse files Browse the repository at this point in the history
The specific values can change depending on pointer size, so we just
skip them for non-64-bit targets.

Fixes #116
  • Loading branch information
BurntSushi committed Jun 4, 2023
1 parent 1b1afb4 commit 35afe9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ahocorasick.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1975,6 +1975,7 @@ impl AhoCorasick {
/// configurations:
///
/// ```
/// # if !cfg!(target_pointer_width = "64") { return; }
/// use aho_corasick::{AhoCorasick, AhoCorasickKind, MatchKind};
///
/// let ac = AhoCorasick::builder()
Expand Down

0 comments on commit 35afe9c

Please sign in to comment.