Ralf Jung
|
b316033dd8
|
rename CompileTimeInterpreter -> CompileTimeMachine, CompileTimeEvalContext -> CompileTimeInterpCx
to match the terms used in the shared interpreter infrastructure
|
2024-06-13 20:30:11 +02:00 |
|
Ralf Jung
|
e8379c9598
|
interpret: get rid of 'mir lifetime everywhere
|
2024-05-27 08:25:57 +02:00 |
|
Nicholas Nethercote
|
7a5d814a04
|
Remove #[macro_use] extern crate tracing from rustc_const_eval .
|
2024-05-23 18:02:38 +10:00 |
|
Nicholas Nethercote
|
4497d345a8
|
Remove extern crate rustc_middle from rustc_const_eval .
This requires exporting the interpreter macros so they can be used with
`use crate::interpret::*`.
|
2024-05-13 08:02:14 +10:00 |
|
Oli Scherer
|
8a6d3535f7
|
Split rustc_type_ir to avoid rustc_ast from depending on it
|
2024-02-27 18:11:23 +00:00 |
|
Ralf Jung
|
9eabdc2a4c
|
make it possible for outside crates to inspect a mir::ConstValue with the interpreter
|
2024-02-21 14:32:52 +01:00 |
|
Ralf Jung
|
4e77e368eb
|
unstably allow constants to refer to statics and read from immutable statics
|
2024-02-10 16:12:55 +01:00 |
|
Ralf Jung
|
2f1a8e2d7a
|
const-eval interner: from-scratch rewrite using mutability information from provenance rather than types
|
2024-01-22 09:28:00 +01:00 |
|
Oli Scherer
|
77174d3f29
|
Turn const_caller_location from a query to a hook
|
2023-10-31 16:15:18 +00:00 |
|
Ralf Jung
|
351d532a27
|
interpret: call caller_location logic the same way codegen does, and share some code
|
2023-10-28 15:40:03 +02:00 |
|