summaryrefslogtreecommitdiff
path: root/src/codegen/struct_layout.rs
AgeCommit message (Expand)Author
2022-10-04split the repo into a workspaceChristian Poveda
2022-09-22codegen: Implement manuallydrop fields better.Emilio Cobos Álvarez
2021-10-27Don't generate 2^64 byte padding fields on unionsTheodore Dubois
2021-10-27Fix warningsMikuroXina
2021-07-16Allow explicit padding (#2060)Eric Seppanen
2021-02-07codegen: Track union layout more accurately.Emilio Cobos Álvarez
2020-11-28struct_layout: Fix field offset computation for packed(n) structs.Emilio Cobos Álvarez
2020-07-21Change non-fatal errors to warningsleo60228
2020-04-27Run `cargo fix --edition`Joshua Nelson
2020-01-13codegen: Max guaranteed alignment is 8 (with u64), not target pointer width.Emilio Cobos Álvarez
2020-01-13Remove padding for over-aligned structs when we support repr(align).Emilio Cobos Álvarez
2019-09-17Rustfmt.Emilio Cobos Álvarez
2019-03-04codegen: Properly track alignment of unions.Emilio Cobos Álvarez
2018-11-30Update quote and proc-macro.Bastien Orivel
2018-09-19Always force repr(align) attributes for stuff with alignment >= 16Emilio Cobos Álvarez
2018-09-19Teach the blob code to generate i128 / u128 if available.Emilio Cobos Álvarez
2018-04-04Bump quote to 0.5 and proc_macro2 to 0.3Bastien Orivel
2018-04-03Revert "Revert "Bump quote to 0.4""Bastien Orivel
2018-04-03codegen: Don't skip alignment checks if we support repr align.Emilio Cobos Álvarez
2018-04-03codegen: Use target pointer size consistently for layout calculations.Emilio Cobos Álvarez
2018-03-04Untry.Emilio Cobos Álvarez
2018-02-14Revert "Bump quote to 0.4"Nick Fitzgerald
2018-01-23Bump quote to 0.4Bastien Orivel
2017-11-02Detect `#pragma pack(...)` and make `pack(n)` where `n > 1` opaqueNick Fitzgerald
2017-11-01Avoid divide-by-zero when checking if a field will merge with bitfieldsNick Fitzgerald
2017-10-11Refactor requires_explicit_alignSergey Pepyakin
2017-09-07Use `quote` instead of `syntex` for Rust code generationNick Fitzgerald
2017-08-24Simplify helpers::blobMalo Jaffré
2017-08-21Rename `TypeKind::Named` to `TypeKind::TypeParam`Anna Liao
2017-05-18Move bitfields into the IRNick Fitzgerald
2017-03-07Completely rework templatesNick Fitzgerald
2017-02-19force pad bytes before large align fieldFlier Lu
2017-02-16Rework how bitfields are handled.Emilio Cobos Álvarez
2017-02-08check layout align before padding bytesFlier Lu
2017-02-08check empty layoutFlier Lu
2017-02-07add padding bytes to align strctureFlier Lu