-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Get the eval out of miri engine #54395
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
|
|
I prefer |
@csmoe I can agree to the extra 't' =P |
Hi @RalfJung, I'd like to help in this one to get my feet wet. How/when shall we begin? |
We currently have #54380 and #53821 in flight and I have https://github.com/RalfJung/rust/tree/pointer-provenance lined up. We should wait for these to land, I think... which could take a bit at the current speed. :/ Until then, you could prepare a list of renames. Is there anything in |
Well, according to ripgrep we have |
Sounds reasonable. So which new names do we want to pick? |
yeah that sounds reasonable |
FWIW the "latest" convention, that I apparently forgot to try and convert the rest of the compiler to, is the |
@christianpoveda I'm not sure we needed the |
Sure :) |
Things sure have calmed down a bit. You should probably work on top of #55915 though, that one is I think the most conflict-risky. But we should first assemble a list of renames that we all are happy with. Which renames to you intend to do? |
Sure, let me check the source code and I'll put a list |
I'd like to tackle this issue. How shall we begin? |
As a first step you can look for all uses of |
…erpretcx, r=oli-obk Renames `EvalContext` to `InterpretCx` This PR renames `EvalContext` to `InterpretCx` in `src/librustc_mir`. This PR is related to rust-lang#54395 .
…erpretcx, r=oli-obk Renames `EvalContext` to `InterpretCx` This PR renames `EvalContext` to `InterpretCx` in `src/librustc_mir`. This PR is related to rust-lang#54395 .
…erpretcx, r=oli-obk Renames `EvalContext` to `InterpretCx` This PR renames `EvalContext` to `InterpretCx` in `src/librustc_mir`. This PR is related to rust-lang#54395 .
…erpretcx, r=oli-obk Renames `EvalContext` to `InterpretCx` This PR renames `EvalContext` to `InterpretCx` in `src/librustc_mir`. This PR is related to rust-lang#54395 .
As the next step, should I rename |
For errors/results, maybe we can do the |
I think that can turn rather ambiguous and contextual in a large codebase like rustc. |
It bothers me how much shorter |
@eddyb |
I have to say that shorter prefixes are ambiguous, and the only other shortenings I can think of involve removing vowels, i.e. |
It is. |
Could I rename |
This is a list for renames.
|
…InterpError, r=oli-obk Renames `EvalErrorKind` to `InterpError` This PR renames `EvalErrorKind` to `InterpError`. This is related to rust-lang#54395.
Rename remaining "Eval" to "Interp" Renaming done by sed. r? @oli-obk Fixes rust-lang#54395.
Rename remaining "Eval" to "Interp" Renaming done by sed. r? @oli-obk Fixes rust-lang#54395.
So, in particular,
EvalContext
should become something else.InterpContext
?InterpretContext
?The actual renaming is pretty easy to do, but there is a high change of conflicts with other PRs, so you should arrange the timing with @oli-obk and @RalfJung.
The text was updated successfully, but these errors were encountered: