diff options
author | Florian Klink <flokli@flokli.de> | 2024-04-07T21·46+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-04-08T07·02+0000 |
commit | 71a3855f0990cbdadfa5ff109db62912e5f3e320 (patch) | |
tree | 42cd484a21689bb16416d99bbbd748b3d96e10db /tvix/nix-compat/src/wire/primitive.rs | |
parent | acee48986699a6f0dd567b0f1176fcc32875ca45 (diff) |
feat(tvix/nix-compat/wire): have write_bytes accept AsRef<[u8]> payloads r/7873
This includes String, &str etc. An example testcase with &str is provided. Change-Id: I900186d6ceb52f52bd41ef4596524c1f5b52470b Reviewed-on: https://cl.tvl.fyi/c/depot/+/11376 Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: picnoir picnoir <picnoir@alternativebit.fr>
Diffstat (limited to 'tvix/nix-compat/src/wire/primitive.rs')
0 files changed, 0 insertions, 0 deletions