Skip to content

Make copyClosureTo take a regular C++ ref to the store#1162

Merged
edolstra merged 1 commit intoNixOS:masterfrom
obsidiansystems:less-ref
Mar 23, 2022
Merged

Make copyClosureTo take a regular C++ ref to the store#1162
edolstra merged 1 commit intoNixOS:masterfrom
obsidiansystems:less-ref

Conversation

@Ericson2314
Copy link
Member

This is syntactically lighter wait, and demonstates there are no weird
dynamic lifetimes involved, just regular passing reference to callee
which it only borrows for the duration of the call.

This is syntactically lighter wait, and demonstates there are no weird
dynamic lifetimes involved, just regular passing reference to callee
which it only borrows for the duration of the call.
@Ericson2314
Copy link
Member Author

CC @grahamc

@Ericson2314
Copy link
Member Author

Shall we merge this too? It is a subset of #1180 by coincidence.

@edolstra edolstra merged commit 962bf36 into NixOS:master Mar 23, 2022
@Ericson2314 Ericson2314 deleted the less-ref branch March 23, 2022 17:08
@Ericson2314
Copy link
Member Author

Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants