summary refs log tree commit diff
path: root/src/librustc_target/abi/mod.rs
AgeCommit message (Expand)AuthorLines
2020-04-16rustc_target::abi: add Primitive variant to FieldsShape.Ana-Maria Mihalache-8/+21
2020-04-03Replace max/min_value() with MAX/MIN assoc constsLinus Färnstrand-1/+1
2020-03-31rustc_target::abi: rename FieldPlacement to FieldsShape.Ana-Maria Mihalache-15/+15
2020-03-27Rename TyLayout to TyAndLayout.Ana-Maria Mihalache-21/+20
2020-03-25Rollup merge of #69700 - anyska:layout-details-rename, r=oli-obkDylan DPC-12/+13
2020-03-25Rename LayoutDetails to just Layout.Ana-Maria Mihalache-12/+13
2020-03-25add usize methods for Size gettersRalf Jung-0/+10
2020-03-25make Size::from* methods generic in the integer type they acceptRalf Jung-5/+6
2020-03-25miri: avoid a bunch of casts by offering usized-based field indexingRalf Jung-1/+2
2020-03-21Rollup merge of #70189 - RalfJung:is_signed, r=eddybMazdak Farrokhzad-1/+1
2020-03-20Abi::is_signed: assert that we are a ScalarRalf Jung-1/+1
2020-03-11Rustfmt and adjust capitalizationOliver Scherer-3/+2
2020-03-11Compute the correct layout for variants of uninhabited enums and readd a long...Oliver Scherer-1/+5
2020-03-11Rollup merge of #66059 - RalfJung:panic-on-non-zero, r=eddybMazdak Farrokhzad-0/+85
2020-03-08Rollup merge of #69646 - RalfJung:layout-visitor, r=eddybMazdak Farrokhzad-1/+1
2020-03-06'fieldless enums' is not what I meant -- it's empty/uninhabited enums, reallyRalf Jung-1/+1
2020-03-06fix various typosMatthias Krüger-1/+1
2020-03-02Auto merge of #69257 - RalfJung:layout-visitor, r=eddybbors-1/+19
2020-02-29move pattern to fn argumentRalf Jung-2/+1
2020-02-29we cannot short-circuit just becuase the Abi seems harmlessRalf Jung-50/+13
2020-02-29fmtRalf Jung-19/+15
2020-02-29make it even more conservative, and note some FIXMEsRalf Jung-5/+13
2020-02-29use valid_range_exclusive for correct overflow handlingRalf Jung-4/+7
2020-02-29reference tracking issueRalf Jung-3/+4
2020-02-29mem::zeroed/uninit: panic on types that do not permit zero-initializationRalf Jung-0/+115
2020-02-27use char instead of &str for single char patternsMatthias Krüger-3/+3
2020-02-26adjust LayoutDetails commentsRalf Jung-7/+7
2020-02-18doc comments for layout componentsRalf Jung-1/+19
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-1/+1
2019-12-22Format the worldMark Rousskov-127/+78
2019-12-06const-prop: Restrict scalar pair propagationÖmer Sinan Ağacan-0/+8
2019-11-17Derive HashStable_Generic for ABI types.Camille GILLOT-52/+8
2019-11-17Derive HashStable in librustc_target.Camille GILLOT-8/+59
2019-11-10Undo an assert causing an ICE until we fix the problem properlyOliver Scherer-5/+1
2019-11-07rustc_target: inline abi::FloatTy into abi::Primitive.Eduard-Mihai Burtescu-13/+7
2019-11-07syntax: use distinct FloatTy from rustc_target.Mazdak Farrokhzad-39/+1
2019-10-10Check that we don't access nonexisting union fieldsOliver Scherer-1/+5
2019-09-29remove indexed_vec re-export from rustc_data_structurescsmoe-3/+2
2019-08-14Handle cfg(bootstrap) throughoutMark Rousskov-13/+6
2019-08-04review comments: clean upEsteban Küber-1/+1
2019-08-03Simplify change to layout_ofEsteban Küber-1/+3
2019-08-03Point to local place span on "type too big" errorEsteban Küber-0/+2
2019-07-28Get out of bootstrapping pickle.Mazdak Farrokhzad-7/+22
2019-07-15rustc: precompute the largest Niche and store it in LayoutDetails.Eduard-Mihai Burtescu-0/+20
2019-07-15rustc_target: move abi::Niche from rustc::ty::layout.Eduard-Mihai Burtescu-0/+51
2019-07-13Make `newtype_index` hygienic and use allow_internal_unstableMatthew Jasper-0/+1
2019-06-25rustc: correctly transform memory_index mappings for generators.Eduard-Mihai Burtescu-1/+10
2019-06-14Change `...` to `..=` where applicableAaron Kutch-1/+1
2019-06-11rustc_target: deny(unused_lifetimes).Eduard-Mihai Burtescu-1/+1
2019-05-27Add `to_symbol` methods.Nicholas Nethercote-0/+8