| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-17 | Rollup merge of #104505 - WaffleLapkin:no-double-spaces-in-comments, r=jackh726 | Matthias Krüger | -2/+2 | |
| Remove double spaces after dots in comments Most of the comments do not have double spaces, so I assume these are typos. | ||||
| 2023-01-17 | Remove double spaces after dots in comments | Maybe Waffle | -2/+2 | |
| 2023-01-14 | Removed various double spaces in compiler source comments. | André Vennberg | -1/+1 | |
| 2022-12-18 | Auto merge of #105446 - erikdesjardins:vt-size, r=nikic | bors | -0/+12 | |
| Add 0..=isize::MAX range metadata to size loads from vtables This is the (much belated) size counterpart to #91569. Inspired by https://rust-lang.zulipchat.com/#narrow/stream/187780-t-compiler.2Fwg-llvm/topic/Range.20metadata.20for.20.60size_of_val.60.20and.20other.20isize.3A.3AMAX.20limits. This could help optimize layout computations based on the size of a dyn trait. Though, admittedly, adding this to vtables wouldn't be as beneficial as adding it to slice len, which is used much more often. Miri detects this UB already: https://github.com/rust-lang/rust/blob/b7cc99142ad0cfe47e2fe9f7a82eaf5b672c0573/compiler/rustc_const_eval/src/interpret/traits.rs#L119-L121 (In fact Miri goes further, [assuming a 48-bit address space on 64-bit platforms](https://github.com/rust-lang/rust/blob/9db224fc908059986c179fc6ec433944e9cfce50/compiler/rustc_abi/src/lib.rs#L312-L331), but I don't think we can assume that in an optimization.) | ||||
| 2022-12-12 | minor code cleanups | Matthias Krüger | -6/+3 | |
| 2022-12-10 | compiler: remove unnecessary imports and qualified paths | KaDiWa | -1/+0 | |
| 2022-12-08 | Add 0..=isize::MAX range metadata to size loads from vtables | Erik Desjardins | -0/+12 | |
| 2022-12-02 | Add StableOrd trait as proposed in MCP 533. | Michael Woerister | -0/+7 | |
| The StableOrd trait can be used to mark types as having a stable sort order across compilation sessions. Collections that sort their items in a stable way can safely implement HashStable by hashing items in sort order. | ||||
| 2022-11-30 | Extract llvm datalayout parsing out of spec module | hkalbasi | -0/+96 | |
| 2022-11-24 | move things from rustc_target::abi to rustc_abi | hkalbasi | -0/+1399 | |
