Skip to content

Commit 472744b

Browse files
Only run parsing::instructions::tests::test_size on 32-bit targets
1 parent f345cf2 commit 472744b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tera/src/parsing/instructions.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,8 @@ impl fmt::Debug for Chunk {
348348
mod tests {
349349
use super::*;
350350

351+
// Expected size is based on a typical 64-bit target
352+
#[cfg(target_pointer_width = "64")]
351353
#[test]
352354
fn test_size() {
353355
assert_eq!(std::mem::size_of::<Instruction>(), 32);

0 commit comments

Comments
 (0)