Skip to content

Commit 87043a2

Browse files
authored
Limit type size assertion to 64bit (#14514)
1 parent f684b6f commit 87043a2

File tree

1 file changed

+1
-0
lines changed
  • crates/red_knot_python_semantic/src

1 file changed

+1
-0
lines changed

crates/red_knot_python_semantic/src/types.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2967,6 +2967,7 @@ impl<'db> TupleType<'db> {
29672967

29682968
// Make sure that the `Type` enum does not grow unexpectedly.
29692969
#[cfg(not(debug_assertions))]
2970+
#[cfg(target_pointer_width = "64")]
29702971
static_assertions::assert_eq_size!(Type, [u8; 16]);
29712972

29722973
#[cfg(test)]

0 commit comments

Comments
 (0)