about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/layout.rs
AgeCommit message (Expand)AuthorLines
2021-10-10Auto merge of #88952 - skrap:add-armv7-uclibc, r=nagisabors-2/+2
2021-10-08clippy::complexity fixesMatthias Krüger-2/+2
2021-10-06Rollup merge of #89329 - tmiasko:print-type-sizes-no-fields, r=jackh726Manish Goregaokar-2/+5
2021-10-06Add new target armv7-unknown-linux-uclibceabihfYannick Koehler-2/+2
2021-10-03Remove re-export.Camille GILLOT-1/+0
2021-09-30Implemented -Z randomize-layoutChase Wilson-13/+35
2021-09-28print-type-sizes: skip field printing for primitivesTomasz Miąsko-2/+5
2021-09-18[HACK(eddyb)] arena-allocate but don't intern `FnAbi`s.Eduard-Mihai Burtescu-1/+1
2021-09-18Querify `fn_abi_of_{fn_ptr,instance}`.Eduard-Mihai Burtescu-58/+65
2021-09-18ty::layout: replicate `layout_of` setup for `fn_abi_of_{fn_ptr,instance}`.Eduard-Mihai Burtescu-106/+115
2021-09-18ty::layout: intern `FnAbi`s as `&'tcx`.Eduard-Mihai Burtescu-8/+8
2021-09-18ty::layout: propagate errors up to (but not out of) `FnAbi::of_*`.Eduard-Mihai Burtescu-25/+104
2021-09-18rustc_target: `adjust_for_cabi` -> `adjust_for_foreign_abi`.Eduard-Mihai Burtescu-1/+1
2021-09-18ty::layout: split out a private trait from `FnAbiExt`.Eduard-Mihai Burtescu-10/+21
2021-09-18ty::layout: move `trait FnAbiExt` to just before its `impl`.Eduard-Mihai Burtescu-28/+28
2021-09-09Rename `(un)signed` to `(un)signed_int`Andreas Liljeqvist-2/+2
2021-09-09Move `unsigned_max` etc into `Size` againAndreas Liljeqvist-4/+4
2021-09-09Make `abi::Abi` `Copy` and remove a *lot* of refsAndreas Liljeqvist-40/+32
2021-09-09Remove `contains_zero`, respect the compilerAndreas Liljeqvist-1/+1
2021-09-02ty::layout: split `LayoutOf` into required and (blanket) provided halves.Eduard-Mihai Burtescu-4/+10
2021-09-02ty::layout: implement `layout_of` automatically as a default method.Eduard-Mihai Burtescu-11/+50
2021-09-02rustc_target: move `LayoutOf` to `ty::layout`.Eduard-Mihai Burtescu-17/+48
2021-08-30rustc_target: remove `LayoutOf` bound from `TyAbiInterface`.Eduard-Mihai Burtescu-24/+30
2021-08-30rustc_target: `TyAndLayout::field` should never error.Eduard-Mihai Burtescu-48/+53
2021-08-27rustc_target: require `TyAbiInterface` in `LayoutOf`.Eduard-Mihai Burtescu-0/+14
2021-08-27rustc_target: rename `TyAndLayoutMethods` to `TyAbiInterface`.Eduard-Mihai Burtescu-4/+8
2021-08-27rustc_target: add lifetime parameter to `LayoutOf`.Eduard-Mihai Burtescu-13/+9
2021-08-27Auto merge of #88326 - eddyb:inline-ty-layout-methods, r=oli-obkbors-0/+10
2021-08-26Auto merge of #87280 - lcnr:lazy-anon-const-default-substs, r=nikomatsakisbors-2/+4
2021-08-26`#[inline]` non-generic `pub fn`s in `rustc_target::abi` and `ty::layout`.Eduard-Mihai Burtescu-0/+10
2021-08-26Auto merge of #88308 - eddyb:cooked-layouts, r=nagisabors-75/+33
2021-08-26reviewlcnr-2/+2
2021-08-26update `TypeFlags` to deal with missing ct substslcnr-2/+4
2021-08-25Auto merge of #85499 - jackh726:assoc-type-norm-rebase, r=nikomatsakisbors-2/+1
2021-08-24Normalize associated types with bound varsJack Huey-2/+1
2021-08-25Auto merge of #88242 - bonega:allocation_range, r=oli-obkbors-16/+23
2021-08-24Morph `layout_raw` query into `layout_of`.Eduard-Mihai Burtescu-75/+33
2021-08-23add `with_start` and `with_end`Andreas Liljeqvist-5/+3
2021-08-23Rename to WrappingRangeAndreas Liljeqvist-8/+8
2021-08-23implement contains_zero methodAndreas Liljeqvist-4/+2
2021-08-23remove commented codeAndreas Liljeqvist-4/+0
2021-08-22Use custom wrap-around type instead of RangeAndreas Liljeqvist-14/+29
2021-08-22Fix typos “a”→“an”Frank Steffahn-2/+2
2021-08-12Add c_enum_min_bits to target specManish Goregaokar-16/+8
2021-08-06Auto merge of #87462 - ibraheemdev:tidy-file-length-ignore-comment, r=Mark-Si...bors-1/+0
2021-08-03rustc: Fill out remaining parts of C-unwind ABIAlex Crichton-66/+115
2021-07-25ignore comments in tidy-filelengthibraheemdev-1/+0
2021-07-16Auto merge of #86993 - jackh726:project-gat-binders, r=nikomatsakisbors-1/+2
2021-07-15Layout error instead of an ICE for packed and aligned typesTomasz Miąsko-2/+7
2021-07-13Conditionally call normalize_erasing_regions only if polymorhization is enabledjackh726-1/+2