eldritch horrors
a5d1f69841
this is cursed. deeply and profoundly cursed. under NO CIRCUMSTANCES
must protocol serializer helpers be applied to temporaries! doing so
will inevitably cause dangling references and cause the entire thing
to crash. we need to do this even so to get rid of boost coroutines,
and likewise to encapsulate the serializers we suffer today at least
a little bit to allow a gradual migration to an actual IPC protocol.
(this isn't a problem that's unique to generators. c++ coroutines in
general cannot safely take references to arbitrary temporaries since
c++ does not have a lifetime system that can make this safe. -sigh-)
Change-Id:
|
||
---|---|---|
.. | ||
data | ||
common-protocol.cc | ||
derivation.cc | ||
derived-path.cc | ||
downstream-placeholder.cc | ||
filetransfer.cc | ||
machines.cc | ||
nar-info-disk-cache.cc | ||
outputs-spec.cc | ||
path.cc | ||
protocol.hh | ||
references.cc | ||
serve-protocol.cc | ||
worker-protocol.cc |