Skip to content

Commit 7fa9083

Browse files
committed
test: fix memory usage tests
The specific values can change depending on pointer size, so we just skip them for non-64-bit targets. Fixes #116
1 parent 844b774 commit 7fa9083

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ahocorasick.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1975,6 +1975,7 @@ impl AhoCorasick {
19751975
/// configurations:
19761976
///
19771977
/// ```
1978+
/// # if !cfg!(target_pointer_width = "64") { return; }
19781979
/// use aho_corasick::{AhoCorasick, AhoCorasickKind, MatchKind};
19791980
///
19801981
/// let ac = AhoCorasick::builder()

0 commit comments

Comments
 (0)