mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 13:25:17 +00:00
Limit type size assertion to 64bit (#14514)
This commit is contained in:
parent
f684b6fff4
commit
87043a2415
1 changed files with 1 additions and 0 deletions
|
@ -2967,6 +2967,7 @@ impl<'db> TupleType<'db> {
|
|||
|
||||
// Make sure that the `Type` enum does not grow unexpectedly.
|
||||
#[cfg(not(debug_assertions))]
|
||||
#[cfg(target_pointer_width = "64")]
|
||||
static_assertions::assert_eq_size!(Type, [u8; 16]);
|
||||
|
||||
#[cfg(test)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue