chore(tvix/eval): only use Rc with impure feature
We only use Rc in `impl EvalIO for StdIO`, which is only included when building with the "impure" feature. Change-Id: Id29d647c899cbfcdda11abfb9fabd5aa7e24299f Reviewed-on: https://cl.tvl.fyi/c/depot/+/8025 Autosubmit: flokli <flokli@flokli.de> Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
This commit is contained in:
parent
f16b0f24e2
commit
d50044d570
1 changed files with 3 additions and 2 deletions
|
@ -15,11 +15,12 @@
|
|||
//! In the context of Nix builds, callers also use this interface to determine
|
||||
//! how store paths are opened and so on.
|
||||
|
||||
use crate::errors::ErrorKind;
|
||||
use smol_str::SmolStr;
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::rc::Rc;
|
||||
|
||||
use crate::errors::ErrorKind;
|
||||
#[cfg(feature = "impure")]
|
||||
use std::rc::Rc;
|
||||
|
||||
/// Types of files as represented by `builtins.readDir` in Nix.
|
||||
#[derive(Debug)]
|
||||
|
|
Loading…
Reference in a new issue