about summary refs log tree commit diff
path: root/compiler/rustc_transmute/src/layout
AgeCommit message (Expand)AuthorLines
2025-07-07compiler: Parse `p-` specs in datalayout string, allow definition of custom d...Edoardo Marangoni-1/+1
2025-06-27tag_for_variant: properly pass TypingEnvRalf Jung-1/+3
2025-06-09transmutability: shift abstraction boundaryJack Wrenn-119/+101
2025-06-03Change `tag_field` to `FieldIdx` in `Variants::Multiple`Scott McMurray-1/+1
2025-04-30transmutability: merge contiguous runs with a common destinationTomasz Miąsko-6/+18
2025-04-29transmutability: uninit transition matches unit byte onlyTomasz Miąsko-223/+139
2025-04-25transmutability: Support char, NonZeroXxxJoshua Liebow-Feeser-40/+137
2025-04-23transmutability: Mark edges by ranges, not valuesJoshua Liebow-Feeser-83/+430
2025-04-21cleanup redundant pattern instancesJonathan Gruner-1/+1
2025-04-20transmutability: remove NFA intermediate representationJack Wrenn-268/+200
2025-03-18Add `#[cfg(test)]` for Transition in dfamu001999-0/+3
2025-02-28Remove `allow(dead_code)` attributes.Nicholas Nethercote-15/+1
2025-02-28Remove `allow(unused_variables)` for `rustc_transmute`.Nicholas Nethercote-8/+6
2025-01-27Add `TooGeneric` variant to `LayoutError` and emit `Unknown` oneFedericoBruzzone-0/+1
2024-12-18add comment explaining why ty_and_layout_field is not usedRalf Jung-1/+4
2024-12-18make no-variant types a dedicated Variants variantRalf Jung-8/+7
2024-12-18Variants::Single: do not use invalid VariantIdx for uninhabited enumsRalf Jung-6/+4
2024-12-01fix safe-transmute handling of enumsRalf Jung-30/+27
2024-10-28Rollup merge of #132255 - workingjubilee:layout-is-🏚️, r=compiler-errorsJubilee-3/+1
2024-10-28compiler: Add `is_uninhabited` and use LayoutS accessorsJubilee Young-3/+1
2024-10-27rustc_transmute: Directly use types from rustc_abiJubilee Young-6/+6
2024-10-01TransmuteFrom: Gracefully handle unnormalized types and normalization errorsJack Wrenn-2/+3
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-09-16layout computation: eagerly error for unexpected unsized fieldsLukas Markeffsky-8/+8
2024-09-16make `LayoutCx` not genericLukas Markeffsky-10/+10
2024-09-14Correctly account for niche-optimized tagsBen Kimock-10/+25
2024-09-05update cfgsBoxy-2/+0
2024-09-03Add `warn(unreachable_pub)` to `rustc_transmute`.Nicholas Nethercote-2/+2
2024-08-21safe transmute: gracefully bubble-up layout errorsJack Wrenn-11/+7
2024-08-18safe transmute: forbid reference lifetime extensionJack Wrenn-54/+100
2024-08-10Update std and compilerNadrieril-0/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-21/+16
2024-06-14safe transmute: support non-ZST, variantful, uninhabited enumsJack Wrenn-22/+14
2024-06-13safe transmute: support `Variants::Single` enumsJack Wrenn-21/+54
2024-06-10ScalarInt: size mismatches are a bug, do not delay the panicRalf Jung-1/+1
2024-05-01Align: add bytes_usize and bits_usizeRalf Jung-1/+1
2024-04-30Remove `extern crate tracing` from numerous crates.Nicholas Nethercote-0/+1
2024-04-19ScalarInt: add methods to assert being a (u)int of given sizeRalf Jung-1/+1
2024-04-08Rollup merge of #123367 - jswrenn:layoutify, r=compiler-errorsMatthias Krüger-234/+210
2024-04-08Compute transmutability from `rustc_target::abi::Layout`Jack Wrenn-234/+210
2024-03-27Remove unnecessary `Partial/Ord` deriveOli Scherer-1/+1
2024-03-22Add `tag_for_variant` queryJack Wrenn-25/+19
2024-03-15Safe Transmute: Use 'not yet supported', not 'unspecified' in errorsJack Wrenn-7/+7
2024-03-13safe transmute: require that src referent is smaller than dstJack Wrenn-1/+25
2024-02-27safe transmute: revise safety analysisJack Wrenn-27/+67
2024-01-09Fix an ICE that occurs after an error has already been reportedOli Scherer-0/+1
2023-09-06Fix error report for size overflow from transmuteyukang-0/+3
2023-07-27Don't attempt to compute layout of type referencing errorMichael Goulet-1/+1
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-7/+7
2023-07-01Put `LayoutError` behind reference to shrink resultNilstrieb-4/+4