-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable env communication #894
Conversation
Please also add a corresponding |
Should I still keep the field in |
Would you like to add this to the README as well?
Yes. Future extensions of this system might need it at run-time. |
I decided to keep going. I'm adding some comments in certain parts where I'd like to have some feedback because I'm not feeling too sure about them. |
I asked you to keep it separate to make review easier. :/ I would have landed the other thing this morning. You could have kept going locally without updating this PR. Just have mutliple branches and then when the nits are done here rebase your other branch. But I don't have time for a bigger review right now. Maybe on the weekend. |
Sorry :/ I did not think about it. Anyway we have no rush here I guess. |
I believe we're ready to go |
Thanks for your patience! @bors r+ |
📌 Commit 451a09a has been approved by |
I am going to start migrating the env related code in |
☀️ Test successful - checks-travis, status-appveyor |
Uh, this is odd:
|
impl EnvVars { | ||
pub(crate) fn init<'mir, 'tcx>( | ||
ecx: &mut InterpCx<'mir, 'tcx, Evaluator<'tcx>>, | ||
communicate: bool, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I entirely forgot that the machine has this flag. So can you remove this parameter, and use ecx.machine.communicate
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since you are probably asleep, I'll do this as part of #909.
related issue: #800. r? @RalfJung