about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/layout.rs
AgeCommit message (Expand)AuthorLines
2022-09-07Use niche-filling optimization even when multiple variants have data.Michael Benfield-116/+198
2022-09-07Change name of "dataful" variant to "untagged"Michael Benfield-10/+10
2022-09-04Make `const_eval_select` a real intrinsicDeadbeef-86/+89
2022-08-31Fix a bunch of typoDezhi Wu-1/+1
2022-08-27Auto merge of #100999 - nnethercote:shrink-FnAbi, r=bjorn3bors-2/+2
2022-08-26Change `FnAbi::args` to a boxed slice.Nicholas Nethercote-1/+1
2022-08-26Change `FnAbi::fixed_count` to a `u32`.Nicholas Nethercote-1/+1
2022-08-24add `depth_limit` in `QueryVTable`SparrowLii-36/+25
2022-08-01move layout sanity check to its own fileRalf Jung-290/+4
2022-08-01tighter checks for (some) ScalarPair layoutsRalf Jung-16/+102
2022-08-01check that Scalar layout is newtype around a suitable typeRalf Jung-40/+135
2022-07-31check 'size multiple of align' for all layoutsRalf Jung-0/+4
2022-07-30Fix the size of niche enums with ZST alignmentJosh Stone-2/+8
2022-07-22do not mark interior mutable shared refs as dereferenceableRalf Jung-5/+10
2022-07-22rename PointerKind::Shared → SharedMutable to indicate this is NOT the usua...Ralf Jung-4/+4
2022-07-20consistently use VTable over Vtable (matching stable stdlib API RawWakerVTable)Ralf Jung-1/+1
2022-07-19Add flag to configure `noalias` on `Box<T>`nils-2/+7
2022-07-16Rollup merge of #99342 - TaKO8Ki:avoid-symbol-to-string-conversions, r=compil...Matthias Krüger-2/+2
2022-07-17avoid some `Symbol` to `String` conversionsTakayuki Maeda-2/+2
2022-07-13Rename `debugging_opts` to `unstable_opts`Joshua Nelson-2/+2
2022-07-11Hide niches in SIMD types, tooOli Scherer-6/+1
2022-07-11More obvious closure nameOli Scherer-4/+4
2022-07-08Create a custom layout path for UnsafeCell instead of piggy backing on the la...Oli Scherer-21/+39
2022-07-07`UnsafeCell` now has no niches, ever.Oli Scherer-22/+26
2022-07-06Rollup merge of #98968 - RalfJung:scalar-sanity, r=oli-obkDylan DPC-3/+2
2022-07-06Auto merge of #98206 - eggyal:align-to-chalk-folding-api, r=jackh726bors-1/+1
2022-07-06Update TypeVisitor pathsAlan Egerton-1/+1
2022-07-05finally enable Scalar layout sanity checksRalf Jung-3/+2
2022-07-05fix the layout of repr(align) enumsRalf Jung-3/+3
2022-05-30Add support for emitting functions with `coldcc` in LLVMScott McMurray-1/+2
2022-05-22Lifetime variance fixes for rustcMichael Goulet-1/+1
2022-05-17Auto merge of #96959 - nbdd0121:unwind, r=Amanieubors-0/+8
2022-05-13Add bound_fn_sigJack Huey-4/+3
2022-05-12Prevent unwinding when `-C panic=abort` is used regardless declared ABIGary Guo-0/+8
2022-05-10Introduce EarlyBinderJack Huey-5/+6
2022-05-10Rollup merge of #96872 - RalfJung:layout-sanity, r=eddybDylan DPC-9/+127
2022-05-09also sanity-check Abi::Vector, and slight refactoringRalf Jung-26/+43
2022-05-09make sure ScalarPair enums have ScalarPair variants; add some layout sanity c...Ralf Jung-11/+112
2022-05-09move `panic-in-drop=abort` check for `drop_in_place`lcnr-20/+21
2022-04-26Rollup merge of #94703 - kjetilkjeka:nvptx-kernel-args-abi2, r=nagisaGuillaume Gomez-0/+16
2022-04-19Fix a bug in the ptx-kernel calling convention where structs was passed indir...Kjetil Kjeka-0/+16
2022-04-18mark payload fields of ScalarPair enums as Scalar::Union when they're not alw...Erik Desjardins-16/+21
2022-04-09Auto merge of #95524 - oli-obk:cached_stable_hash_cleanups, r=nnethercotebors-40/+28
2022-04-08Avoid looking at the internals of Interned directlyOli Scherer-40/+28
2022-04-05Use WrappingRange::full instead of hand-rolling itOli Scherer-4/+1
2022-04-05Mark scalar layout unions so that backends that do not support partially init...Oli Scherer-30/+42
2022-03-30Spellchecking compiler commentsYuri Astrakhan-2/+2
2022-03-11Improve `AdtDef` interning.Nicholas Nethercote-39/+40
2022-03-07Clarify `Layout` interning.Nicholas Nethercote-42/+61
2022-03-03Revert #26494 regressionVin Singh-5/+1