tvl-depot/tvix/glue
Florian Klink 771200df7c fix(tvix/eval): allow reading non-UTF8 files
With our values using bstr now, we're not restricted to only reading
files that contain valid UTF-8.

Update our `read_to_string` function to `read_to_end`
(named like `std::io::Read::read_to_end`), and have it return a Vec<u8>.

Change-Id: I87f0291dc855a132689576559c891d66c30ddf2b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11003
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: Pádraic Ó Mhuiris <patrick.morris.310@gmail.com>
Reviewed-by: flokli <flokli@flokli.de>
2024-02-21 13:55:41 +00:00
..
benches feat(tvix/eval): implement builtins.filterSource 2024-02-20 14:16:36 +00:00
src fix(tvix/eval): allow reading non-UTF8 files 2024-02-21 13:55:41 +00:00
Cargo.toml feat(tvix/eval): implement builtins.filterSource 2024-02-20 14:16:36 +00:00
default.nix refactor(tvix): move tvix glue code into glue crate 2023-11-04 15:18:44 +00:00