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> |
||
|---|---|---|
| .. | ||
| builtins | ||
| tests | ||
| .skip-subtree | ||
| fetchurl.nix | ||
| known_paths.rs | ||
| lib.rs | ||
| refscan.rs | ||
| tvix_build.rs | ||
| tvix_io.rs | ||
| tvix_store_io.rs | ||