tvl-depot/tvix/glue
Ryan Lahfa 12ae96cff2 feat(tvix/glue): use TvixStoreIO as derivation builtin state
We propagate a `TvixStoreIO` as the `state` of our derivation-specific
builtins in the glue crate.

The evaluators `io_handle` itself is using a Rc<dyn EvalIO>.

An earlier version of TvixStoreIO was also introducing generics over the
different internal services themselves, but we opted for instead
hardcoding this to Arc<dyn …> for the sake of less macro voodoo.

Change-Id: I535c476f06b840858fa3070c4a237ece47f7a15b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10636
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Autosubmit: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
2024-01-18 14:28:00 +00:00
..
benches feat(tvix/glue): use TvixStoreIO as derivation builtin state 2024-01-18 14:28:00 +00:00
src feat(tvix/glue): use TvixStoreIO as derivation builtin state 2024-01-18 14:28:00 +00:00
Cargo.toml feat(tvix/glue): introduce test suite for context strings 2024-01-17 17:31:07 +00:00
default.nix refactor(tvix): move tvix glue code into glue crate 2023-11-04 15:18:44 +00:00