about summary refs log tree commit diff
path: root/third_party/nix/src/tests/derivations_test.cc
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-11-17T23·08-0500
committerglittershark <grfn@gws.fyi>2020-11-19T00·29+0000
commit20e206a3f61c74d1a2994a614fa7eec49109f995 (patch)
treebc430a5d01e6b898fd3b4ec46d37a1deae2a4be1 /third_party/nix/src/tests/derivations_test.cc
parente1067b1497b3dea0c37ae51bba21f42f1e7d35b5 (diff)
fix(tvix): Use mutable field for assigning proto fields r/1885
This was accidentally using the proto arena API to assign the derivation
field of a BuildDerivationRequest. We *thought* this was causing a
double free, but even with this change that's still happening. That
said, this change is probably still a good idea since it's using the
proto API as intended.

References: b/64
Change-Id: I950a4eafb214e9113639ea54d2dfd4659b7be931
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2104
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'third_party/nix/src/tests/derivations_test.cc')
0 files changed, 0 insertions, 0 deletions