about summary refs log tree commit diff
path: root/third_party/nix/src/libmain/common-args.cc
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-08-20T01·42+0100
committertazjin <mail@tazj.in>2020-08-20T11·48+0000
commite09a6262d55ebffbd6e2973e7fe8ced6f1a45d83 (patch)
tree6ba2d37ca0e4ddab53df5c91190a6e212d2627bc /third_party/nix/src/libmain/common-args.cc
parent19e874a9854c0d7f49d79fa98177a84b6997ce9a (diff)
feat(tvix): Implement std::streambuf for a build log -> gRPC sink r/1686
Introduces a class which implements std::streambuf by sending build
log lines to the provided gRPC stream writer as individual messages.

This can be used in the implementations of calls which trigger builds
to forward logs back to the clients.

Change-Id: I3cecba2219cc24d56692056079c7d7e4e0fc1e2c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1794
Tested-by: BuildkiteCI
Reviewed-by: kanepyork <rikingcoding@gmail.com>
Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'third_party/nix/src/libmain/common-args.cc')
0 files changed, 0 insertions, 0 deletions