revert(tvix): don't use Rc::clone explicitly
This reverts commit d9565a4d0a
.
Reason for revert: this was intentional - putting Rc::clone instead of
.clone is a common Rust idiom, and makes it explicit that we're cloning
a shared reference, not an underlying resource
Change-Id: I41a5f323ee35d7025dc7bb02f7d5d05d0051798d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10995
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
This commit is contained in:
parent
771200df7c
commit
d74c68025b
4 changed files with 9 additions and 9 deletions
|
@ -46,8 +46,8 @@ fn interpret(code: &str) {
|
|||
);
|
||||
|
||||
eval.builtins.extend(impure_builtins());
|
||||
add_derivation_builtins(&mut eval, tvix_store_io.clone());
|
||||
add_fetcher_builtins(&mut eval, tvix_store_io.clone());
|
||||
add_derivation_builtins(&mut eval, Rc::clone(&tvix_store_io));
|
||||
add_fetcher_builtins(&mut eval, Rc::clone(&tvix_store_io));
|
||||
add_import_builtins(&mut eval, tvix_store_io);
|
||||
configure_nix_path(
|
||||
&mut eval,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue