about summary refs log tree commit diff
path: root/compiler/rustc_target/src/abi/mod.rs
AgeCommit message (Expand)AuthorLines
2023-11-22Replace `no_ord_impl` with `orderable`.Nicholas Nethercote-0/+2
2023-11-22Replace `custom_encodable` with `encodable`.Nicholas Nethercote-0/+2
2023-10-31Enums in offset_of: update based on est31, scottmcm & llogiq reviewGeorge Bateman-17/+12
2023-10-31Support enum variants in offset_of!George Bateman-8/+16
2023-10-02Implement Deref<LayoutS> for LayoutLukas Wirth-0/+7
2023-10-02Add VariantIdx backLukas Wirth-4/+21
2023-10-02Move FieldIdx and Layout to rustc_targetLukas Wirth-0/+82
2023-10-02Bring back generic FieldIdxLukas Wirth-2/+2
2023-09-19rustc_target/riscv: Fix passing of transparent unions with only one non-ZST m...msizanoen-0/+8
2023-09-15special case `TyAndLayout` debug implBoxy-1/+12
2023-09-12add helper method for finding the one non-1-ZST fieldRalf Jung-0/+21
2023-08-08offset_of: guard against invalid use (with unsized fields)Ralf Jung-1/+6
2023-07-21Revert "Auto merge of #113166 - moulins:ref-niches-initial, r=oli-obk"David Tolnay-5/+1
2023-07-21Auto merge of #113922 - matthiaskrgr:rollup-90cj2vv, r=matthiaskrgrbors-21/+0
2023-07-21rustc_target: drop duplicate codeDavid Rheinsberg-21/+0
2023-07-21Don't treat ref. fields with non-null niches as `dereferenceable_or_null`Moulins-1/+5
2023-04-21offset_ofDrMeepster-0/+15
2023-02-15Rollup merge of #107163 - mikebenfield:parameters-pr, r=TaKO8KiDylan DPC-46/+2
2023-01-22rustc_abi: remove Primitive::{is_float,is_int}Erik Desjardins-1/+1
2023-01-21Remove some superfluous type parameters from layout.rs.Michael Benfield-46/+2
2022-12-18A few small cleanups for `newtype_index`Nilstrieb-2/+1
2022-12-18Use `#[derive]` instead of custom syntax in all `newtype_index`Nilstrieb-1/+1
2022-11-24move things from rustc_target::abi to rustc_abihkalbasi-1518/+4
2022-11-24move some layout logic to rustc_target::abi::layouthkalbasi-7/+144
2022-11-24make rustc_target usable outside of rustchkalbasi-34/+93
2022-11-13add is_sized method on Abi and Layout, and use itRalf Jung-0/+10
2022-10-05change might_permit_raw_init to fully detect LLVM UB, but not more than thatRalf Jung-69/+1
2022-09-08translations(rustc_session): migrate TargetDataLayout::parseLuis Cardoso-26/+37
2022-09-07Change name of "dataful" variant to "untagged"Michael Benfield-2/+2
2022-08-02Auto merge of #92268 - jswrenn:transmute, r=oli-obkbors-1/+2
2022-07-31reorder fields in Laout debug outputRalf Jung-6/+7
2022-07-27Initial (incomplete) implementation of transmutability trait.Jack Wrenn-1/+2
2022-07-22do not mark interior mutable shared refs as dereferenceableRalf Jung-3/+7
2022-07-22rename PointerKind::Shared → SharedMutable to indicate this is NOT the usua...Ralf Jung-1/+1
2022-07-14Use constant eval to do strict validity checks5225225-23/+15
2022-06-06Auto merge of #97684 - RalfJung:better-provenance-control, r=oli-obkbors-0/+5
2022-06-05interpret: better control over whether we read data with provenance, and impl...Ralf Jung-0/+5
2022-06-03Use serde_json for target spec jsonbjorn3-2/+3
2022-06-03Remove a couple of unused Encodable and Decodable derivesbjorn3-1/+1
2022-05-24Add flag for stricter checks on uninit/zeroed5225225-12/+47
2022-05-06make Size and Align debug-printing a bit more compactRalf Jung-2/+16
2022-04-26Rollup merge of #94703 - kjetilkjeka:nvptx-kernel-args-abi2, r=nagisaGuillaume Gomez-0/+32
2022-04-19Fix a bug in the ptx-kernel calling convention where structs was passed indir...Kjetil Kjeka-0/+32
2022-04-05trivial cfg(bootstrap) changesPietro Albini-1/+1
2022-04-05Mark scalar layout unions so that backends that do not support partially init...Oli Scherer-20/+80
2022-03-29allow large Size againRalf Jung-16/+7
2022-03-16resolve the conflict in compiler/rustc_session/src/parse.rscodehorseman-1/+1
2022-03-07Clarify `Layout` interning.Nicholas Nethercote-11/+65
2022-02-19Adopt let else in more placesest31-6/+3
2021-12-17Eliminate duplicate codes of is_single_fp_elementlzh-0/+18