| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-07-30 | const-eval: full support for pointer fragments | Ralf Jung | -40/+57 | |
| 2025-07-16 | simplfy memory kind handling during interning | Ralf Jung | -39/+10 | |
| 2025-07-16 | const heap: fix ICE on forgotten make_global | Ralf Jung | -39/+35 | |
| 2025-07-16 | Comment more code and make tests clearer | Deadbeef | -7/+6 | |
| Co-Authored-By: Ralf Jung <post@ralfj.de> | ||||
| 2025-07-16 | add `const_make_global`; err for `const_allocate` ptrs if didn't call | Deadbeef | -6/+52 | |
| Co-Authored-By: Ralf Jung <post@ralfj.de> Co-Authored-By: Oli Scherer <github333195615777966@oli-obk.de> | ||||
| 2025-06-10 | const_eval: fix some outdated comments | Ralf Jung | -8/+7 | |
| 2025-05-02 | Move `DisambiguatorState` into `intern_const_alloc_recursive` | John Kåre Alsaker | -11/+26 | |
| 2025-05-02 | Add `DefPathData::NestedStatic` instead of reusing `DefPathData::AnonConst` | John Kåre Alsaker | -4/+3 | |
| 2025-04-29 | Remove global `next_disambiguator` state and handle it with a ↵ | John Kåre Alsaker | -5/+10 | |
| `DisambiguatorState` type | ||||
| 2025-04-17 | `intern_with_temp_alloc` is for `DummyMachine` only. | Nicholas Nethercote | -2/+6 | |
| 2025-03-07 | Pass `Option<Symbol>` to `def_path_data`/`create_def` methods. | Nicholas Nethercote | -1/+1 | |
| It's clearer than using `kw::Empty` to mean `None`. | ||||
| 2025-02-22 | Greatly simplify lifetime captures in edition 2024 | Michael Goulet | -2/+2 | |
| 2025-02-08 | Rustfmt | bjorn3 | -5/+5 | |
| 2024-11-19 | `InterpCx` store `TypingEnv` instead of a `ParamEnv` | lcnr | -1/+1 | |
| 2024-11-19 | move `fn is_item_raw` to `TypingEnv` | lcnr | -1/+1 | |
| 2024-10-01 | make InterpResult a dedicated type to avoid accidentally discarding the error | Ralf Jung | -4/+6 | |
| 2024-09-22 | Reformat using the new identifier sorting from rustfmt | Michael Goulet | -6/+6 | |
| 2024-09-10 | turn errors that should be impossible due to our static checks into ICEs | Ralf Jung | -20/+32 | |
| 2024-09-10 | const-eval interning: accpt interior mutable pointers in final value (but ↵ | Ralf Jung | -7/+11 | |
| keep rejecting mutable references) | ||||
| 2024-06-13 | rename CompileTimeInterpreter -> CompileTimeMachine, CompileTimeEvalContext ↵ | Ralf Jung | -1/+1 | |
| -> CompileTimeInterpCx to match the terms used in the shared interpreter infrastructure | ||||
| 2024-06-04 | Add safe/unsafe to static inside extern blocks | Santiago Pastorino | -1/+1 | |
| 2024-05-27 | interpret: get rid of 'mir lifetime everywhere | Ralf Jung | -24/+9 | |
| 2024-05-27 | interpret: the MIR is actually at lifetime 'tcx | Ralf Jung | -1/+1 | |
| 2024-05-23 | Remove `#[macro_use] extern crate tracing` from `rustc_const_eval`. | Nicholas Nethercote | -0/+1 | |
| 2024-05-13 | Remove `extern crate rustc_middle` from `rustc_const_eval`. | Nicholas Nethercote | -1/+1 | |
| This requires exporting the interpreter macros so they can be used with `use crate::interpret::*`. | ||||
| 2024-04-17 | Use less fragile error handling | Oli Scherer | -15/+11 | |
| 2024-04-17 | Validate before reporting interning errors. | Oli Scherer | -20/+25 | |
| validation produces much higher quality errors and already handles most of the cases | ||||
| 2024-04-02 | Forbid implicit nested statics in thread local statics | Oli Scherer | -1/+5 | |
| 2024-03-31 | Don't inherit codegen attrs from parent static | Michael Goulet | -3/+8 | |
| 2024-03-20 | Rollup merge of #121543 - onur-ozkan:clippy-args, r=oli-obk | Matthias Krüger | -1/+3 | |
| various clippy fixes We need to keep the order of the given clippy lint rules before passing them. Since clap doesn't offer any useful interface for this purpose out of the box, we have to handle it manually. Additionally, this PR makes `-D` rules work as expected. Previously, lint rules were limited to `-W`. By enabling `-D`, clippy began to complain numerous lines in the tree, all of which have been resolved in this PR as well. Fixes #121481 cc `@matthiaskrgr` | ||||
| 2024-03-20 | resolve clippy errors | onur-ozkan | -1/+3 | |
| Signed-off-by: onur-ozkan <work@onurozkan.dev> | ||||
| 2024-03-19 | Ensure nested statics have a HIR node to prevent various queries from ICEing | Oli Scherer | -0/+2 | |
| 2024-03-14 | Move only usage of `take_static_root_alloc` to its definition and inline it | Oli Scherer | -1/+1 | |
| 2024-03-13 | placate tidy. | Felix S. Klock II | -1/+1 | |
| 2024-03-13 | downgrade mutable-ptr-in-final-value from hard-error to future-incompat lint ↵ | Felix S. Klock II | -4/+8 | |
| to address issue 121610. | ||||
| 2024-03-12 | s/mt/mutability/ | Oli Scherer | -1/+1 | |
| 2024-03-12 | Ensure nested allocations in statics do not get deduplicated | Oli Scherer | -3/+44 | |
| 2024-02-23 | compiler: clippy::complexity fixes | Matthias Krüger | -2/+2 | |
| 2024-02-15 | Do not allocate a second "background" alloc id for the main allocation of a ↵ | Oli Scherer | -5/+27 | |
| static. Instead we re-use the static's alloc id within the interpreter for its initializer to refer to the `Allocation` that only exists within the interpreter. | ||||
| 2024-02-13 | Bump `indexmap` | clubby789 | -1/+2 | |
| `swap` has been deprecated in favour of `swap_remove` - the behaviour is the same though. | ||||
| 2024-02-05 | Clarify order of operations during interning | Oli Scherer | -0/+7 | |
| Co-authored-by: Ralf Jung <post@ralfj.de> | ||||
| 2024-01-29 | Document base vs nested alloc interning | Oli Scherer | -0/+3 | |
| 2024-01-29 | separately intern the outermost alloc from the rest | Oli Scherer | -41/+39 | |
| 2024-01-29 | Prefer external iteration now that we don't actually recurse anymore | Oli Scherer | -22/+16 | |
| 2024-01-22 | reword comment | Ralf Jung | -7/+10 | |
| 2024-01-22 | const-eval interner: from-scratch rewrite using mutability information from ↵ | Ralf Jung | -407/+150 | |
| provenance rather than types | ||||
| 2023-12-24 | Remove `Session` methods that duplicate `DiagCtxt` methods. | Nicholas Nethercote | -5/+5 | |
| Also add some `dcx` methods to types that wrap `TyCtxt`, for easier access. | ||||
| 2023-12-07 | ctfe interpreter: extend provenance so that it can track whether a pointer ↵ | Ralf Jung | -11/+13 | |
| is immutable | ||||
| 2023-12-02 | Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`. | Nicholas Nethercote | -4/+4 | |
| Because the corresponding `Level` is `DelayedBug` and `span_delayed_bug` follows the pattern used everywhere else: `span_err`, `span_warning`, etc. | ||||
| 2023-11-21 | Fix `clippy::needless_borrow` in the compiler | Nilstrieb | -1/+1 | |
| `x clippy compiler -Aclippy::all -Wclippy::needless_borrow --fix`. Then I had to remove a few unnecessary parens and muts that were exposed now. | ||||
