about summary refs log tree commit diff
path: root/compiler/rustc_abi/src/lib.rs
AgeCommit message (Expand)AuthorLines
2023-08-03Add `internal_features` lintNilstrieb-0/+1
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-12/+7
2023-07-25Rollup merge of #114060 - davidtwco:issue-113279, r=wesleywiserMatthias Krüger-1/+0
2023-07-25abi: unsized field in union - assert to delay bugDavid Wood-1/+0
2023-07-25interpret: refactor projection code to work on a common trait, and use that f...Ralf Jung-1/+1
2023-07-21Revert "Auto merge of #113166 - moulins:ref-niches-initial, r=oli-obk"David Tolnay-98/+10
2023-07-21Track (partial) niche information in `NaiveLayout`Moulins-2/+8
2023-07-21CTFE: move `target_{i, u}size_{min, max)` to `rustc_abi::TargetDataLayout`Moulins-11/+13
2023-07-21recover null-ptr optimization by adding a special case to the niching logicMoulins-8/+12
2023-07-21support non-null pointer niches in CTFEMoulins-0/+37
2023-07-21restrict the valid range of references if `-Z reference-niches` is setMoulins-0/+31
2023-07-21add crate-local `-Z reference_niches` unstable flag (does nothing for now)Moulins-0/+8
2023-07-14i686-windows: make requested alignment > 4 special case apply transitivelyErik Desjardins-7/+7
2023-07-10aarch64-linux: properly handle 128bit aligned aggregatesErik Desjardins-1/+21
2023-07-10repr(align) <= 4 should still be byvalErik Desjardins-8/+8
2023-07-10move has_repr to layout, handle repr(transparent) properlyErik Desjardins-1/+12
2023-06-08Removed stable/unstable sort arg from into_sorted_stable_ord, fixed a few mis...Andrew Xie-1/+3
2023-06-01Use translatable diagnostics in `rustc_const_eval`Deadbeef-7/+42
2023-05-05Review feedbackLuqman Aden-1/+1
2023-05-05Don't discard preferred alignment in scalar pair.Luqman Aden-4/+2
2023-05-05Factor out checks in layout check and add helper inherent_size.Luqman Aden-1/+22
2023-05-05Add helper methods inherent_align and to_union on Abi.Luqman Aden-1/+26
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-1/+1
2023-04-18Store hashes in special types so they aren't accidentally encoded as numbersBen Kimock-3/+4
2023-04-17Rollup merge of #110394 - scottmcm:less-idx-new, r=WaffleLapkinMatthias Krüger-1/+1
2023-04-16Remove the loop in `Align::from_bytes`Scott McMurray-7/+4
2023-04-16Various minor Idx-related tweaksScott McMurray-1/+1
2023-04-09Fix some clippy::complexityNilstrieb-1/+1
2023-04-08Enforce that PointerLike requires a pointer-like ABIMichael Goulet-0/+10
2023-04-04Use `FieldIdx` in `FieldsShape`Scott McMurray-12/+11
2023-04-02Use `&IndexSlice` instead of `&IndexVec` where possibleScott McMurray-1/+1
2023-03-28Move `mir::Field` → `abi::FieldIdx`Scott McMurray-0/+26
2023-03-25Refactor: `VariantIdx::from_u32(0)` -> `FIRST_VARIANT`Scott McMurray-2/+15
2023-02-23Unify validity checks into a single queryNilstrieb-8/+0
2023-02-17Rollup merge of #107592 - workingjubilee:use-16-bit-enum-on-16-bit-targets, r...Matthias Krüger-1/+3
2023-02-16Default repr(C) enums to c_int sizeJubilee Young-1/+3
2023-02-15Rollup merge of #107163 - mikebenfield:parameters-pr, r=TaKO8KiDylan DPC-12/+59
2023-02-06also do not add noalias on not-Unpin BoxRalf Jung-2/+2
2023-02-06make PointerKind directly reflect pointer typesRalf Jung-15/+6
2023-01-31PointeeInfo is advisory onlyRalf Jung-0/+2
2023-01-22abi: add `AddressSpace` field to `Primitive::Pointer`Erik Desjardins-10/+14
2023-01-22rustc_abi: remove Primitive::{is_float,is_int}Erik Desjardins-12/+0
2023-01-21Remove some superfluous type parameters from layout.rs.Michael Benfield-12/+59
2023-01-17Rollup merge of #104505 - WaffleLapkin:no-double-spaces-in-comments, r=jackh726Matthias Krüger-2/+2
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-2/+2
2023-01-14Removed various double spaces in compiler source comments.André Vennberg-1/+1
2022-12-18Auto merge of #105446 - erikdesjardins:vt-size, r=nikicbors-0/+12
2022-12-12minor code cleanupsMatthias Krüger-6/+3
2022-12-10compiler: remove unnecessary imports and qualified pathsKaDiWa-1/+0
2022-12-08Add 0..=isize::MAX range metadata to size loads from vtablesErik Desjardins-0/+12