mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
test(ast): fix assert_layouts.rs offset tests on 32bit platforms. (#4620)
This commit is contained in:
parent
297401db42
commit
49d5196e57
2 changed files with 264 additions and 264 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -82,7 +82,7 @@ fn assert_type(ty: &Type, def: &TypeDef) -> (TokenStream, TokenStream) {
|
||||||
assert_size_align(ty, def.size_32, def.align_32),
|
assert_size_align(ty, def.size_32, def.align_32),
|
||||||
ty,
|
ty,
|
||||||
&def.fields,
|
&def.fields,
|
||||||
def.offsets_64.as_deref(),
|
def.offsets_32.as_deref(),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
TypeDef::Enum(def) => (
|
TypeDef::Enum(def) => (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue